Provides event receivers for events that occur at the scope of the site collection.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property EventReceivers As SPEventReceiverDefinitionCollection
Get
用法
Dim instance As SPSite
Dim value As SPEventReceiverDefinitionCollection
value = instance.EventReceivers
public SPEventReceiverDefinitionCollection EventReceivers { get; }
属性值
类型:Microsoft.SharePoint.SPEventReceiverDefinitionCollection
Returns SPEventReceiverDefinitionCollection.
备注
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.