Span.IsEmpty Property

Definition

Determines whether or not this span is empty.

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

Property Value

true if the length of the span is zero, otherwise false.

Applies to