SPEventReceiverDefinitionCollection.Add Method

Include Protected Members
Include Inherited Members

Creates an event receiver definition in the collection.

Overload List

  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 Windows SharePoint Services 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.

Top

See Also

Reference

SPEventReceiverDefinitionCollection Class

SPEventReceiverDefinitionCollection Members

Microsoft.SharePoint Namespace