StringSegment.HasValue Property

Definition

Gets whether this StringSegment contains a valid value.

C#
public bool HasValue { get; }

Property Value

true if the StringSegment contains a valid value; false otherwise.

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)