共用方式為


SequenceReader<T>(ReadOnlySequence<T>) 建構函式

定義

在指定的 ReadOnlySequence<T> 上建立 SequenceReader<T>

public:
 SequenceReader(System::Buffers::ReadOnlySequence<T> sequence);
public SequenceReader (System.Buffers.ReadOnlySequence<T> sequence);
new System.Buffers.SequenceReader<'T (requires 'T : struct)> : System.Buffers.ReadOnlySequence<'T (requires 'T : struct)> -> System.Buffers.SequenceReader<'T (requires 'T : struct)>
Public Sub New (sequence As ReadOnlySequence(Of T))

參數

sequence
ReadOnlySequence<T>

要建立 SequenceReader<T> 的唯讀序列。

適用於