ModelStateDictionary.GetEnumerator Method
Returns an enumerator that can be used to iterate through the collection.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, ModelState))
'Usage
Dim instance As ModelStateDictionary
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, ModelState))
returnValue = instance.GetEnumerator()
public IEnumerator<KeyValuePair<string, ModelState>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<String^, ModelState^>>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<string, ModelState>>
override GetEnumerator : unit -> IEnumerator<KeyValuePair<string, ModelState>>
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()