Lookup<TKey,TElement>.IEnumerable.GetEnumerator 方法

定义

返回循环访问 Lookup<TKey,TElement> 的枚举数。Returns an enumerator that iterates through the Lookup<TKey,TElement>. 此类不能被继承。This class cannot be inherited.

 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

返回

IEnumerator

用于 Lookup<TKey,TElement> 的枚举数。An enumerator for the Lookup<TKey,TElement>.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Lookup<TKey,TElement> 实例被强制转换为 IEnumerable 接口时使用。It can be used only when the Lookup<TKey,TElement> instance is cast to an IEnumerable interface.

适用于