ValidatorCollection.GetEnumerator Method ()

 

Returns an IEnumerator instance for the ValidatorCollection collection.

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

abstract GetEnumerator : unit -> IEnumerator
override GetEnumerator : unit -> IEnumerator

Return Value

Type: System.Collections.IEnumerator

The IEnumerator for the collection.

Use this method to create an System.Collections.IEnumerator instance that can be iterated through easily to get each item in the ValidatorCollection collection.

The following code example demonstrates using the GetEnumerator method.

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

.NET Framework
Available since 1.1
Return to top
Show: