de la propiedad SPSite.EventReceivers
Provides event receivers for events that occur at the scope of the site collection.
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public ReadOnly Property EventReceivers As SPEventReceiverDefinitionCollection
Get
'Uso
Dim instance As SPSite
Dim value As SPEventReceiverDefinitionCollection
value = instance.EventReceivers
public SPEventReceiverDefinitionCollection EventReceivers { get; }
Valor de propiedad
Tipo: Microsoft.SharePoint.SPEventReceiverDefinitionCollection
Returns SPEventReceiverDefinitionCollection.
Comentarios
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.