This documentation is archived and is not being maintained.

SPContentType.EventReceivers Property

Windows SharePoint Services 3

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
An SPEventReceiverDefinitionCollection object that represents the event receiver definitions.

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