SPEventReceiverDefinitionCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPEventReceiverDefinition objects that are used to enumerate the list of registered event receivers for Microsoft SharePoint Foundation objects that can have events.
The SPEventReceiverDefinitionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of event receiver definitions in the collection. (Overrides SPBaseCollection.Count.) | |
HostId | Gets the identifier of the object to which the event receiver definitions apply. | |
HostType | Gets the type of object to which the event receiver definitions apply. | |
Item[Guid] | Gets the event receiver definition with the specified identifier from the collection. | |
Item[Int32] | Gets the SPEventReceiverDefinition object at the specified index in the collection. | |
ItemId | Gets the identifier of the item to which the event receiver definitions apply. | |
Site | Gets the site collection to which the event receiver definitions apply. | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
Web | Gets the site to which the event receiver definitions apply. |
Top
Methods
Name | Description | |
---|---|---|
Add() | Creates an event receiver definition in the collection. | |
Add(Guid) | Adds an event receiver definition to the collection that is identifiable by the specified globally unique identifier. | |
Add(Guid, SPList) | Creates an event receiver definition in the collection based on the specified GUID and Microsoft SharePoint Foundation list. | |
Add(SPEventReceiverType, String, String) | Adds an event receiver definition to the collection that is already associated with its Assembly name, Class name, and event receiver type. | |
CopyTo | Copies the contents of the collection to the given array starting at the specified index. | |
Equals | (Inherited from Object.) | |
EventReceiverDefinitionExist | Returns a Boolean variable that specifies whether an event receiver definition with the specified Guid exists in the collection. | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | (Inherited from SPAutoSerializingObject.) | |
ToString | (Inherited from Object.) | |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top