System.Web.UI.WebControls.FontUnit.op_Equality Method

Compares two System.Web.UI.WebControls.FontUnit objects for equality.

Syntax

public static bool operator== (FontUnit left, FontUnit right)

Parameters

left
A System.Web.UI.WebControls.FontUnit on the left of the operator that contains font properties.
right
A System.Web.UI.WebControls.FontUnit on the right of the operator that contains font properties.

Returns

true if both System.Web.UI.WebControls.FontUnit objects are equal; otherwise, false.

Remarks

For the System.Web.UI.WebControls.FontUnit objects to be equivalent, each object must have the same values for the FontUnit.Type and FontUnit.Unit properties.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0