Edit

Share via


ModelStateDictionary.GetEnumerator Method

Definition

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

public:
 virtual System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<System::String ^, System::Web::ModelBinding::ModelState ^>> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,System.Web.ModelBinding.ModelState>> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState>>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState>>
Public Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of String, ModelState))

Returns

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

Implements

Applies to