ReadOnlySequence<T>.IsSingleSegment 屬性

定義

取得值,指出 ReadOnlySequence<T> 是否包含單一 ReadOnlyMemory<T> 區段。

public:
 property bool IsSingleSegment { bool get(); };
public bool IsSingleSegment { get; }
member this.IsSingleSegment : bool
Public ReadOnly Property IsSingleSegment As Boolean

屬性值

true 如果唯讀序列是空的,則為 ;否則為 false

適用於