EventDescriptorCollection

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()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net