IImmutableStack<T>.IsEmpty 属性

定义

获取一个值,该值指示此不可变堆栈是否为空。Gets a value that indicates whether this immutable stack is empty.

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

属性值

如果此堆栈为空,则为 true;否则为 falsetrue if this stack is empty; otherwise,false.

适用于