OrderedDictionary.GetEnumerator Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)


Dim instance As OrderedDictionary(Of TKey, TValue)
Dim returnValue As IEnumerator(Of KeyValuePair(Of TKey, TValue))

returnValue = instance.GetEnumerator


Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of TKey, TValue))
public IEnumerator<KeyValuePair<TKey,TValue>> GetEnumerator ()
virtual IEnumerator<KeyValuePair<TKey, TValue>>^ GetEnumerator () sealed
public final IEnumerator<KeyValuePair<TKey,TValue>> GetEnumerator ()
public final function GetEnumerator () : IEnumerator<KeyValuePair<TKey,TValue>>

Return Value

Returns IEnumerator.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

See Also


OrderedDictionary Generic Class
OrderedDictionary Members
Microsoft.OneGet.Utility.Collections Namespace