Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPFile.EventReceivers Property

Gets the collection of event receiver definitions for the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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 Events in SharePoint Foundation 2010.

Show:
© 2015 Microsoft