Edit

Share via


OrderedDictionary<TKey,TValue>.ValueCollection.IEnumerable.GetEnumerator Method

Definition

Returns an enumerator that iterates through a collection.

 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

Returns

An IEnumerator object that can be used to iterate through the collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.Generic.OrderedDictionary`2.ValueCollection> instance is cast to an <xref:System.Collections.IEnumerable> interface.

Applies to