Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnumerator Method

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 IEnumerator<KeyValuePair<string, ModelState>> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<StringModelState>>

An enumerator that can be used to iterate through the collection.

Return to top
Show:
© 2015 Microsoft