This documentation is archived and is not being maintained.
FontUnit Equality Operator
.NET Framework 1.1
Compares two FontUnit objects for equality.
[Visual Basic] returnValue = FontUnit.op_Equality(left, right) [C#] public static bool operator ==( FontUnit left, FontUnit right ); [C++] public: static bool op_Equality( FontUnit left, FontUnit right ); [JScript] returnValue = left == right;
[Visual Basic] In Visual Basic, you can use the operators defined by a type, but you cannot define your own. You can use the Equals method instead of the FontUnit equality operator.
[JScript] In JScript, you can use the operators defined by a type, but you cannot define your own.
Arguments [Visual Basic, JScript]
- left
- A FontUnit on the left of the operator that contains font properties.
- right
- A FontUnit on the right of the operator that contains font properties.
Parameters [C#, C++]
- left
- A FontUnit on the left of the operator that contains font properties.
- right
- A FontUnit on the right of the operator that contains font properties.
Return Value
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.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
FontUnit Structure | FontUnit Members | System.Web.UI.WebControls Namespace | FontUnit | Type | Unit
Show: