SPEventReceiverDefinitionCollection methods

The SPEventReceiverDefinitionCollection type exposes the following members.

Methods

  Name Description
Public method Add() Creates an event receiver definition in the collection.
Public method Add(Guid) Adds an event receiver definition to the collection that is identifiable by the specified globally unique identifier.
Public method Add(Guid, SPList) Creates an event receiver definition in the collection based on the specified GUID and Microsoft SharePoint Foundation list.
Public method Add(SPEventReceiverType, String) Creates a remote event receiver definition in the collection that is based on the specified event receiver type and url.
Public method 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.
Public method CopyTo Copies the contents of the collection to the given array starting at the specified index.
Public method Equals (Inherited from Object.)
Public method EventReceiverDefinitionExist Returns a Boolean variable that specifies whether an event receiver definition with the specified Guid exists in the collection.
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPEventReceiverDefinitionCollection class

Microsoft.SharePoint namespace