SPEventReceiverDefinitionCollection public class SPEventReceiverDefinitionCollection : SPBaseCollection Documentation public Guid HostId { get; } public SPEventHostType HostType { get; } public SPEventReceiverDefinition this[int index] { get; } public SPEventReceiverDefinition this[Guid eventReceiverId] { get; } public int ItemId { get; } public SPSite Site { get; } public SPWeb Web { get; } public SPEventReceiverDefinition Add() public SPEventReceiverDefinition Add(Guid Id) public SPEventReceiverDefinition Add(Guid Id, SPList contextList) public void Add(SPEventReceiverType receiverType, string assembly, string className) public void Add(SPEventReceiverType receiverType, string url) public void CopyTo(SPEventReceiverDefinition[] array, int index) public bool EventReceiverDefinitionExist(Guid eventReceiverId)