FontUnit.Equality(FontUnit, FontUnit) Operator

Definition

Compares two FontUnit objects for equality.

C#
public static bool operator ==(System.Web.UI.WebControls.FontUnit left, System.Web.UI.WebControls.FontUnit right);

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

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also