GetEnumerator Method

ReadOnlyDictionary(Of TKey, TValue).GetEnumerator Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns an enumerator that iterates through the collection.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of TKey, TValue))

Return Value

Type: System.Collections.Generic.IEnumerator(Of KeyValuePair(Of TKey, TValue))
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable(Of T).GetEnumerator

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft