SPEventReceiverDefinition.Type Property
Gets or sets the type of event for the event receiver.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property Type As SPEventReceiverType
Get
Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As SPEventReceiverType
value = instance.Type
instance.Type = value
public SPEventReceiverType Type { get; set; }
Property Value
Type: Microsoft.SharePoint.SPEventReceiverType
An SPEventReceiverType value representing the type of event.
Remarks
Users perform actions such as delete, update, check in, or convert on Microsoft SharePoint Foundation objects. When a SharePoint Foundation object has some action performed on it by the user, the object generates an event. This event that specified that an action occurred must be received by the appropriate event host within the SharePoint Foundation farm for processing.
See Also
Reference
SPEventReceiverDefinition Class
SPEventReceiverDefinition Members