ReadOnlyDictionary<TKey,TValue>.KeyCollection.GetEnumerator ReadOnlyDictionary<TKey,TValue>.KeyCollection.GetEnumerator ReadOnlyDictionary<TKey,TValue>.KeyCollection.GetEnumerator ReadOnlyDictionary<TKey,TValue>.KeyCollection.GetEnumerator Method

定义

返回一个循环访问集合的枚举器。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)

返回

IEnumerator<TKey>

用于循环访问集合的枚举数。An enumerator that can be used to iterate through the collection.

实现

适用于