ConfigurationAttributeSchemaCollection.Count Property

IIS 7.0
 

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

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public int Count { get; }

Property Value

Type: System.Int32

The number of configuration attribute schemas in the ConfigurationAttributeSchemaCollection object.

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.

Return to top
Show: