PropertyDescriptorCollection

PropertyDescriptorCollection

System.ComponentModel (system.dll) class

This class encapsulates a standard collection of PropertyDescriptor objects, for use with members such as TypeDescriptor.GetProperties() and PropertyDescriptor.GetChildProperties() .

 public class  PropertyDescriptorCollection  : IList, ICollection, IEnumerable, IDictionary {  // Public Constructors  public  PropertyDescriptorCollection  (PropertyDescriptor[]  properties  );  // Public Static Fields  public static readonly PropertyDescriptorCollection  Empty  ;  // =System.ComponentModel.PropertyDescriptorCollection   // Public Instance Properties  public int  Count  {get; }  // implements ICollection  public virtual PropertyDescriptor  this  {get; }    public virtual PropertyDescriptor  this  {get; }  // Public Instance Methods  public int  Add  (PropertyDescriptor  value  );    public void  Clear  ();  // implements System.Collections.IDictionary  public bool  Contains  (PropertyDescriptor  value  );    public void  CopyTo  (Array  array  , int  index  );  // implements ICollection  public virtual PropertyDescriptor  Find  (string  name  , bool  ignoreCase  );    public virtual IEnumerator  GetEnumerator  ();  // implements IEnumerable  public int  IndexOf  (PropertyDescriptor  value  );    public void  Insert  (int  index  , PropertyDescriptor  value  );    public void  Remove  (PropertyDescriptor  value  );    public void  RemoveAt  (int  index  );  // implements IList  public virtual PropertyDescriptorCollection  Sort  ();    public virtual PropertyDescriptorCollection  Sort  (System.Collections.IComparer  comparer  );    public virtual PropertyDescriptorCollection  Sort  (string[]  names  );    public virtual PropertyDescriptorCollection  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.GetProperties() , ICustomTypeDescriptor.GetProperties() , ITypedList.GetItemProperties() , PropertyDescriptor.GetChildProperties() , TypeConverter.{GetProperties() , SortProperties()} , TypeDescriptor.GetProperties() , System.Windows.Forms.BindingManagerBase.GetItemProperties( ) , System.Windows.Forms.Design.PropertyTab.GetProperties( )

Passed To

TypeConverter.SortProperties()



. 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