ImmutableSortedSet<T>.IEnumerable<T>.GetEnumerator 方法

定义

返回循环访问集合的枚举器。Returns an enumerator that iterates through the collection.

 virtual System::Collections::Generic::IEnumerator<T> ^ System.Collections.Generic.IEnumerable<T>.GetEnumerator() = System::Collections::Generic::IEnumerable<T>::GetEnumerator;
System.Collections.Generic.IEnumerator<T> IEnumerable<T>.GetEnumerator ();
Function GetEnumerator () As IEnumerator(Of T) Implements IEnumerable(Of T).GetEnumerator

返回

一个可用于循环访问集合的枚举器。An enumerator that can be used to iterate through the collection.

实现

注解

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

System.object NuGet 包System.Collections.Immutable NuGet package

关于不可变集合以及如何安装About immutable collections and how to install

适用于