共用方式為


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 空置。 UnitType該性質包含列舉值為 0,則該屬性為空。

適用於

另請參閱