ValidatorCollection.Count Property

 

Gets the number of references in the collection.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

abstract Count : int with get
override Count : int with get

Property Value

Type: System.Int32

The number of validation controls in the page's ValidatorCollection.

The following code example demonstrates using the Count property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: