ConfigurationElementSchemaCollection.Count Property

Definition

Gets the number of configuration element schemas in this configuration element schema collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Property Value

The number of configuration element schemas in the ConfigurationElementSchemaCollection object.

Implements

Remarks

You can use the 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 minus 1 as the upper boundary of the loop.

Applies to