อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ReadOnlySequence<T>.IsSingleSegment Property

Definition

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

C#
public bool IsSingleSegment { get; }

Property Value

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

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1