SPEventReceiverDefinition.ContextCollectionId Property
Gets or sets the Guid (Globally Unique Identifier) of the collection of context objects that are associated with the specified SharePoint Foundation event receiver processes.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: System.GuidA Guid that represents the identifier by which to retrieve the context collection object.
A context is a collection of name-value pairs that provide information about a site and its components. A context collection is a series of contexts that are grouped together to provide similar functionalities. For example, a word processor may have a file context, an edit context, and a view context. Functionality is provided for the context by creating event handlers for objects within the context collection and developing code to handle those events.