SPUsageReceiverDefinitionCollection methods

The SPUsageReceiverDefinitionCollection type exposes the following members.

Methods

  Name Description
Public method Add(Type) Adds a receiver definition to this collection.
Public method Add(SPUsageReceiverDefinition) Adds a receiver definition to this collection. (Overrides SPPersistedChildCollection<T>.Add(T).)
Public method Add(String, String) Adds a receiver definition to this collection.
Public method Ensure Adds an object to the collection and, if the object already exists, reinitializes it with the data of the existing object. (Inherited from SPPersistedChildCollection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(Guid) Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(String) Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Guid) Deletes an object from the collection. (Inherited from SPPersistedChildCollection<T>.)
Public method Remove(Type) Removes receiver definitions associated with the supplied usage receiver type.
Public method Remove(SPUsageReceiverDefinition) Removes the receiver definition from this collection.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator over all items in this list. (Inherited from SPPersistedObjectCollection<T>.)

Top

See also

Reference

SPUsageReceiverDefinitionCollection class

Microsoft.SharePoint.Administration namespace