ModelStateDictionary.GetEnumerator Method

Returns an enumerator that can be used to iterate through the collection.

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

public final function GetEnumerator() : IEnumerator<KeyValuePair<String, ModelState>>

Return Value

Type: System.Collections.Generic.IEnumerator(KeyValuePair(String, ModelState))
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable(T).GetEnumerator()
Show: