SPContentType.EventReceivers Property
Gets the collection of event receiver definitions for the content type.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property EventReceivers As SPEventReceiverDefinitionCollection
Get
'Usage
Dim instance As SPContentType
Dim value As SPEventReceiverDefinitionCollection
value = instance.EventReceivers
public SPEventReceiverDefinitionCollection EventReceivers { get; }
Property Value
Type: Microsoft.SharePoint.SPEventReceiverDefinitionCollection
The collection of event receiver definitions.
Remarks
For more information about event receiver definitions, see Events in SharePoint Foundation 2010.
See Also
Reference
Microsoft.SharePoint Namespace