Partilhar via


SPEventReceiverDefinitionCollection.Add Method

Include Protected Members
Include Inherited Members

Creates an event receiver definition in the collection.

Overload List

  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, String) Adds an event receiver definition to the collection that is already associated with its Assembly name, Class name, and event receiver type.

Top

See Also

Reference

SPEventReceiverDefinitionCollection Class

SPEventReceiverDefinitionCollection Members

Microsoft.SharePoint Namespace