ViewDataDictionary.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

public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<String^, Object^>>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<string, Object>>
override GetEnumerator : unit -> IEnumerator<KeyValuePair<string, Object>>
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, Object))

Return Value

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

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

Implements

IEnumerable<T>.GetEnumerator()

See Also

ViewDataDictionary Class
System.Web.Mvc Namespace

Return to top