System.ComponentModel.PropertyDescriptorCollection Class

Represents a collection of System.ComponentModel.PropertyDescriptor objects.

See Also: PropertyDescriptorCollection Members


public class PropertyDescriptorCollection : IDictionary, IList


System.ComponentModel.PropertyDescriptorCollection is read-only; it does not implement methods that add or remove properties. You must inherit from this class to implement these methods.

Using the properties available in the System.ComponentModel.PropertyDescriptorCollection class, you can query the collection about its contents. Use the PropertyDescriptorCollection.Count property to determine the number of elements in the collection. Use the PropertyDescriptorCollection.Item(int) property to get a specific property by index number or by name.

In addition to properties, you can use the PropertyDescriptorCollection.Find(string, bool) method to get a description of the property with the specified name from the collection.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,