Site.EventReceivers 属性

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public ReadOnly Property EventReceivers As EventReceiverDefinitionCollection
    Get
用法
Dim instance As Site
Dim value As EventReceiverDefinitionCollection

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

属性值

类型:Microsoft.SharePoint.Client.EventReceiverDefinitionCollection
Returns EventReceiverDefinitionCollection.

备注

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.

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间