Upraviť

Zdieľať cez


Rectangle.Inequality(Rectangle, Rectangle) Operator

Definition

Tests whether two Rectangle structures differ in location or size.

public:
 static bool operator !=(System::Drawing::Rectangle left, System::Drawing::Rectangle right);
public static bool operator != (System.Drawing.Rectangle left, System.Drawing.Rectangle right);
static member op_Inequality : System.Drawing.Rectangle * System.Drawing.Rectangle -> bool
Public Shared Operator != (left As Rectangle, right As Rectangle) As Boolean

Parameters

left
Rectangle

The Rectangle structure that is to the left of the inequality operator.

right
Rectangle

The Rectangle structure that is to the right of the inequality operator.

Returns

This operator returns true if any of the X, Y, Width or Height properties of the two Rectangle structures are unequal; otherwise false.

Applies to