ReadOnlySpan<T>.IsEmpty 属性

定义

返回一个值,该值指示当前只读范围为空。Returns a value that indicates the current read-only span is empty.

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

属性值

Boolean

true 当当前跨度为空时为;否则为 falsetrue when the current span is empty; otherwise false.

适用于