ReadOnlySequence<T>.IsSingleSegment Property

Definition

Gets a value that indicates whether the ReadOnlySequence<T> contains a single ReadOnlyMemory<T> segment.

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

Property Value

true if the read-only sequence is empty; otherwise, false.

Applies to