편집

다음을 통해 공유


FontUnit.Equality(FontUnit, FontUnit) Operator

Definition

Compares two FontUnit objects for equality.

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 ( = ) : 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 on the left of the operator that contains font properties.

right
FontUnit

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

Returns

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

Remarks

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

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

Applies to

See also