RectangleF.Inequality(RectangleF, RectangleF) Operator

Definition

Tests whether two RectangleF structures differ in location or size.

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

Parameters

left
RectangleF

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

right
RectangleF

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

Returns

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

Applies to