ReadOnlyDictionary<TKey,TValue>.KeyCollection.GetEnumerator Method

Definition

Returns an enumerator that iterates through the collection.

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

Returns

IEnumerator<TKey>

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

Implements

Applies to