Unit.Inequality Operator (Unit, Unit)

 
System_CAPS_noteNote

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

equivalentCodeEntityM:System.Web.UI.WebControls.Unit.Equals(System.Object)

Compares two Unit objects to determine whether they are not equal.

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

public static bool operator !=(
	Unit left,
	Unit right
)

Parameters

left
Type: System.Web.UI.WebControls.Unit

The Unit on the left side of the operator.

right
Type: System.Web.UI.WebControls.Unit

The Unit on the right side of the operator.

Return Value

Type: System.Boolean

true if the Unit objects are not equal; otherwise, false.

Use this operator to compare two Unit objects for inequality. For the objects to not be equal, they must have different values for the Type property or the Value property.

.NET Framework
Available since 1.1
Return to top
Show: