ArraySegment<T>.IEnumerable.GetEnumerator ArraySegment<T>.IEnumerable.GetEnumerator ArraySegment<T>.IEnumerable.GetEnumerator Method

定义

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

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

返回

一个枚举器,可用于循环访问数组段。An enumerator that can be used to iterate through the array segment.

实现

注解

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

适用于