This documentation is archived and is not being maintained.
FontUnit Inequality Operator
.NET Framework 1.1
Compares two FontUnit objects for inequality.
[Visual Basic] returnValue = FontUnit.op_Inequality(left, right) [C#] public static bool operator !=( FontUnit left, FontUnit right ); [C++] public: static bool op_Inequality( 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 inequality 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 that contains font properties on the left of the operator.
- right
- A FontUnit that contains font properties on the right of the operator.
Parameters [C#, C++]
- left
- A FontUnit that contains font properties on the left of the operator.
- right
- A FontUnit that contains font properties on the right of the operator.
Return Value
true if both FontUnit objects are not equal; otherwise, false.
Remarks
For the FontUnit objects to be not equal to each other, each object must either have different values for the Type property or the Unit property.
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: