Span<T>.IsEmpty Span<T>.IsEmpty Span<T>.IsEmpty Span<T>.IsEmpty Property

定义

返回一个值,该值指示当前的 Span<T> 是否为空。Returns a value that indicates whether the current Span<T> is empty.

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

属性值

如果当前跨度为空,则 true;否则 @no__t 为-1。true if the current span is empty; otherwise, false.

适用于