This topic has not yet been rated - Rate this topic

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.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public Guid ContextCollectionId { get; set; }

Property Value

Type: System.Guid
A 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ