Unit.IsEmpty Unit.IsEmpty Unit.IsEmpty Unit.IsEmpty Property


Gets a value indicating whether the Unit is empty.

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

Property Value

true if the Unit is empty; otherwise, false.


Use the IsEmpty property to determine whether the Unit is empty. The Unit is empty if the Type property contains an enumeration value of 0.

Applies to

See also