Bearbeiten

Freigeben über


FontUnit.Inequality(FontUnit, FontUnit) Operator

Definition

Compares two FontUnit objects for inequality.

public:
 static bool operator !=(System::Web::UI::WebControls::FontUnit left, System::Web::UI::WebControls::FontUnit right);
public static bool operator != (System.Web.UI.WebControls.FontUnit left, System.Web.UI.WebControls.FontUnit right);
static member op_Inequality : System.Web.UI.WebControls.FontUnit * System.Web.UI.WebControls.FontUnit -> bool
Public Shared Operator != (left As FontUnit, right As FontUnit) As Boolean

Parameters

left
FontUnit

A FontUnit that contains font properties on the left of the operator.

right
FontUnit

A FontUnit that contains font properties on the right of the operator.

Returns

true if both FontUnit objects are not equal; otherwise, false.

Remarks

For the FontUnit objects to be not equal to each other, each object must either have different values for the Type property or the Unit property.

The equivalent method for this operator is FontUnit.Equals(Object)

Applies to

See also