ModelStateDictionary.IEnumerable.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)

'Declaration
Private Function GetEnumerator As IEnumerator 
	Implements IEnumerable.GetEnumerator
'Usage
Dim instance As ModelStateDictionary 
Dim returnValue As IEnumerator 

returnValue = CType(instance, IEnumerable).GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator

This member is an explicit interface member implementation. It can be used only when the ModelStateDictionary instance is cast to an IEnumerable interface.

Show: