PointF::Inequality Operator (PointF, PointF)

 

Determines whether the coordinates of the specified points are not equal.

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

public:
static bool operator !=(
	PointF left,
	PointF right
)

Parameters

left
Type: System.Drawing::PointF

A PointF to compare.

right
Type: System.Drawing::PointF

A PointF to compare.

Return Value

Type: System::Boolean

true to indicate the X and Y values of left and right are not equal; otherwise, false.

The following code example demonstrates how to use the Inequality operator. To run this example, paste the following code into a Windows Form. Handle the form's Paint event and call AddExample, passing e as PaintEventArgs.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: