Sdílet prostřednictvím


OrderedDictionary<TKey,TValue>.IEnumerable.GetEnumerator Metoda

Definice

Vrátí enumerátor, který iteruje kolekcí.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

Návraty

Objekt IEnumerator, který lze použít k iteraci v kolekci.

Implementuje

Poznámky

Tento člen je explicitní implementace člena rozhraní. Lze jej použít pouze v případě, že <xref:System.Collections.Generic.OrderedDictionary'2> instance je přetypována na rozhraní <xref:System.Collections.IEnumerable> rozhraní.

Platí pro