Свойство SPSite.EventReceivers

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.

См. также

Справочные материалы

SPSite класс

Элементы SPSite

Пространство имен Microsoft.SharePoint