ConfigurationElementSchemaCollection.Count Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.