SPEventReceiverDefinition.ContextEventType Property
Gets or sets the Guid (Globally Unique Identifier) of the receiver process that is associated with this context event.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property ContextEventType As Guid
Get
Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As Guid
value = instance.ContextEventType
instance.ContextEventType = value
public Guid ContextEventType { get; set; }
Property Value
Type: System.Guid
A Guid that represents the identifier for the type object for the context event.
Remarks
User activity generates events that are defined by event receiver objects and associated with the event host. For example, if the user added an item to a list within a view, then the event receiver object that is used is the one that handles Add() events for the view context.
See Also
Reference
SPEventReceiverDefinition Class
SPEventReceiverDefinition Members
Microsoft.SharePoint Namespace
Other Resources
Event Host Type