ReadOnlySequence<T>.Enumerator 结构

定义

表示 ReadOnlySequence<T> 中的枚举器。Represents an enumerator over a ReadOnlySequence<T>.

public: value class ReadOnlySequence<T>::Enumerator
public struct ReadOnlySequence<T>.Enumerator
type ReadOnlySequence<'T>.Enumerator = struct
Public Structure ReadOnlySequence(Of T).Enumerator

类型参数

T
继承
ReadOnlySequence<T>.Enumerator

构造函数

ReadOnlySequence<T>.Enumerator(ReadOnlySequence<T>)

初始化枚举器。Initializes the enumerator.

属性

Current

获取当前 ReadOnlyMemory<T>Gets the current ReadOnlyMemory<T>.

方法

MoveNext()

移至 ReadOnlyMemory<T> 中的下一个 ReadOnlySequence<T>Moves to the next ReadOnlyMemory<T> in the ReadOnlySequence<T>.

适用于