This documentation is archived and is not being maintained.

Unit.IsEmpty Property

Gets a value indicating whether the Unit is empty.

[Visual Basic]
Public ReadOnly Property IsEmpty As Boolean
[C#]
public bool IsEmpty {get;}
[C++]
public: __property bool get_IsEmpty();
[JScript]
public function get IsEmpty() : 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.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Unit Structure | Unit Members | System.Web.UI.WebControls Namespace | Type

Show: