Name

PropertyDescriptorCollection

Synopsis

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

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.