Επεξεργασία

Κοινή χρήση μέσω


ReadOnlyDictionary<TKey,TValue>.GetEnumerator Method

Definition

Returns an enumerator that iterates through the ReadOnlyDictionary<TKey,TValue>.

public:
 virtual System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
Public Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of TKey, TValue))

Returns

IEnumerator<KeyValuePair<TKey,TValue>>

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

Implements

Applies to