Freigeben über


TempDataDictionary.IEnumerable.GetEnumerator Method

Returns an enumerator that can be used to iterate through a collection.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator

Return Value

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

Implements

IEnumerable.GetEnumerator()

Remarks

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

See Also

Reference

TempDataDictionary Class

System.Web.Mvc Namespace