DekGenius.com
[ Team LiB ] Previous Section Next Section

EventDescriptorCollection

System.ComponentModel (system.dll)class

This class implements a collection of EventDescriptor objects and is returned by the TypeDescriptor.GetEvents() method.

public class EventDescriptorCollection : IList, ICollection, IEnumerable {
// Public Constructors
   public EventDescriptorCollection(EventDescriptor[] events);
// Public Static Fields
   public static readonly EventDescriptorCollection Empty;  // =System.ComponentModel.EventDescriptorCollection
// Public Instance Properties
   public int Count{get; }
// implements ICollection
   public virtual EventDescriptor this{get; }
   public virtual EventDescriptor this{get; }
// Public Instance Methods
   public int Add(EventDescriptor value);
   public void Clear();  // implements IList
   public bool Contains(EventDescriptor value);
   public virtual EventDescriptor Find(string name, bool ignoreCase);
   public IEnumerator GetEnumerator();  // implements IEnumerable
   public int IndexOf(EventDescriptor value);
   public void Insert(int index, EventDescriptor value);
   public void Remove(EventDescriptor value);
   public void RemoveAt(int index);  // implements IList
   public virtual EventDescriptorCollection Sort();
   public virtual EventDescriptorCollection Sort(System.Collections.IComparer comparer);
   public virtual EventDescriptorCollection Sort(string[] names);
   public virtual EventDescriptorCollection Sort(string[] names, System.Collections.IComparer comparer);
// Protected Instance Methods
   protected void InternalSort(System.Collections.IComparer sorter);
   protected void InternalSort(string[] names);
}

Returned By

IComNativeDescriptorHandler.GetEvents(), ICustomTypeDescriptor.GetEvents(), TypeDescriptor.GetEvents()

    [ Team LiB ] Previous Section Next Section