This documentation is archived and is not being maintained.

SPFile.EventReceivers Property

Windows SharePoint Services 3

Gets the collection of event receiver definitions for the file.

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.

For information on event receiver definitions, see Event Fundamentals.