SPEventReceiverDefinitionCollection Properties

Include Protected Members
Include Inherited Members

The SPEventReceiverDefinitionCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of event receiver definitions in the collection. (Overrides SPBaseCollection.Count.)
Public property HostId Gets the identifier of the object to which the event receiver definitions apply.
Public property HostType Gets the type of object to which the event receiver definitions apply.
Public property Item[Guid] Gets the event receiver definition with the specified identifier from the collection.
Public property Item[Int32] Gets the SPEventReceiverDefinition object at the specified index in the collection.
Public property ItemId Gets the identifier of the item to which the event receiver definitions apply.
Public property Site Gets the site collection to which the event receiver definitions apply.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Web Gets the site to which the event receiver definitions apply.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPEventReceiverDefinitionCollection Class

Microsoft.SharePoint Namespace