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)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, ModelState))
public IEnumerator<KeyValuePair<string, ModelState>> GetEnumerator()
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()