This documentation is archived and is not being maintained.

SPWeb.EventReceivers Property

Windows SharePoint Services 3

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

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

public SPEventReceiverDefinitionCollection EventReceivers { get; }

Property Value

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