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

定义

返回循环访问数组的枚举器。Returns an enumerator that iterates through the array.

 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 array.

实现

注解

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

适用于