System.ComponentModel.PropertyDescriptorCollection.Count Property

Gets the number of property descriptors in the collection.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use the PropertyDescriptorCollection.Count property to set the limits of a loop that iterates through a collection of objects. Because the collection is zero-based, be sure to use Count - 1 as the upper boundary of the loop.

Requirements

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