共用方式為


OrderedDictionary<TKey,TValue>.KeyCollection.GetEnumerator 方法

定義

傳回逐一查看 OrderedDictionary<TKey,TValue>.KeyCollection的列舉值。

public:
 System::Collections::Generic::OrderedDictionary<TKey, TValue>::KeyCollection::Enumerator GetEnumerator();
public System.Collections.Generic.OrderedDictionary<TKey,TValue>.KeyCollection.Enumerator GetEnumerator ();
member this.GetEnumerator : unit -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>.KeyCollection.Enumerator
Public Function GetEnumerator () As OrderedDictionary(Of TKey, TValue).KeyCollection.Enumerator

傳回

OrderedDictionary<TKey,TValue>.KeyCollectionOrderedDictionary<TKey,TValue>.KeyCollection.Enumerator

適用於