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

定义

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

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

实现

注解

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

适用于