Unit.IsEmpty Property

Definition

Gets a value indicating whether the Unit is empty.

public:
 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.

Remarks

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