Inequality(Rectangle,Rectangle) Operator (Rectangle)
Tests whether two
Rectangle structures differ in location or size.
Parameters
- left
- The Rectangle structure that is to the left of the inequality operator.
- right
- The Rectangle structure that is to the right of the inequality operator.
Return Value
This operator returns
true if any of the
Left ,
Top,
Width, or
Height properties of the two
Rectangle structures are unequal; otherwise,
false.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5