Export (0) Print
Expand All
Expand Minimize

SPSite.EventReceivers Property

Provides event receivers for events that occur at the scope of the site collection.

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

public SPEventReceiverDefinitionCollection EventReceivers { get; }

Items that are associated with a site collection for which you have registered this event receiver – for example, any lists that exist on the site – will have these site-level events bound to them.

© 2014 Microsoft