SPFile.EventReceivers property
Gets the collection of event receiver definitions for the file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property EventReceivers As SPEventReceiverDefinitionCollection
Get
'Usage
Dim instance As SPFile
Dim value As SPEventReceiverDefinitionCollection
value = instance.EventReceivers
public SPEventReceiverDefinitionCollection EventReceivers { get; }
Property value
Type: Microsoft.SharePoint.SPEventReceiverDefinitionCollection
An SPEventReceiverDefinitionCollection object that represents the event receiver definitions.
Remarks
For information on event receiver definitions, see Event Fundamentals.