FontUnit::Equality Operator (FontUnit, FontUnit)

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

Compares two FontUnit objects for equality.

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

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

Parameters

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

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

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

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

Return Value

Type: System::Boolean

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

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

.NET Framework
Available since 1.1
Return to top
Show: