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

Definition

Returns an enumerator that iterates through a collection.

C#
System.Collections.IEnumerator 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.KeyCollection> instance is cast to an <xref:System.Collections.IEnumerable> interface.

Applies to

Product Versions
.NET 9, 10