Unit.IsEmpty Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value indicating whether the Unit is empty.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool IsEmpty { get; }

Property Value

Type: System.Boolean

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.

.NET Framework
Available since 1.1
Return to top