Point.Inequality Operator (Point, Point)

 

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static bool operator !=(
	Point left,
	Point right
)

Parameters

left
Type: System.Drawing.Point

A Point to compare.

right
Type: System.Drawing.Point

A Point to compare.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: