March 2003
Intermediate to advanced
896 pages
32h 35m
English
PropertyDescriptorCollection
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
Read now
Unlock full access