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:
virtual IEnumerator<KeyValuePair<String^, ModelState^>>^ GetEnumerator() sealed

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: