| Visual Basic (Declaration) | |
|---|---|
Public Operator <>( _ ByVal left As AnnRectangle, _ ByVal right As AnnRectangle _ ) As Boolean | |
| C# | |
|---|---|
public bool operator !=( AnnRectangle left, AnnRectangle right ) | |
| C++/CLI | |
|---|---|
public: bool operator !=( AnnRectangle left, AnnRectangle right ) | |
Parameters
- left
- The AnnRectangle structure on the left side of the inequality operator.
- right
- The AnnRectangle structure on the right side of the inequality operator.
Return Value
This operator returns true if left and right have unequal Width and Height values; otherwise false.For an example, refer to op_Equality.
If the two rectangles have different units, comparison will be done after temporarily converted both to a common unit.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family