SPContentType.EventReceivers property

Gets the collection of event receiver definitions for the content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public ReadOnly Property EventReceivers As SPEventReceiverDefinitionCollection
Dim instance As SPContentType
Dim value As SPEventReceiverDefinitionCollection

value = instance.EventReceivers

Property value

Type: Microsoft.SharePoint.SPEventReceiverDefinitionCollection
The collection of event receiver definitions.

For more information about event receiver definitions, see Event Fundamentals.