通过


Unit.IsEmpty 属性

定义

获取一个值,该值指示是否为 Unit 空。

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

属性值

true 如果为空, Unit 则为空;否则为 false

注解

使用 IsEmpty 属性确定该 Unit 属性是否为空。 如果该属性包含枚举值 0,则TypeUnit空。

适用于

另请参阅