Share via


Site.EventReceivers property

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

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

Syntax

'Declaration
Public ReadOnly Property EventReceivers As EventReceiverDefinitionCollection
    Get
'Usage
Dim instance As Site
Dim value As EventReceiverDefinitionCollection

value = instance.EventReceivers
public EventReceiverDefinitionCollection EventReceivers { get; }

Property value

Type: Microsoft.SharePoint.Client.EventReceiverDefinitionCollection
Returns EventReceiverDefinitionCollection.

Remarks

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.

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace