SequenceReader<T>(ReadOnlySequence<T>) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的 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> 的唯讀序列。