SPList.EventReceivers property

Gets the collection of event receivers that have been registered for the list.

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


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

value = instance.EventReceivers
public SPEventReceiverDefinitionCollection EventReceivers { get; }

Property value

Type: Microsoft.SharePoint.SPEventReceiverDefinitionCollection
An SPEventReceiverDefinitionCollection object that represents the event receivers.

See also


SPList class

SPList members

Microsoft.SharePoint namespace