SPWeb.EventReceivers property

Gets the collection of event receiver definitions that are currently available on the website.

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

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

value = instance.EventReceivers

Property value

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