Point.Inequality(Point, Point) Operator

Definition

Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.

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

Parameters

left
Point

A Point to compare.

right
Point

A Point to compare.

Returns

true if the values of either the X properties or the Y properties of left and right differ; otherwise, false.

Applies to