แก้ไข

แชร์ผ่าน


Point.Inequality(Point, Point) Operator

Definition

Compares two Point structs for inequality.

public:
 static bool operator !=(Windows::Foundation::Point point1, Windows::Foundation::Point point2);
public static bool operator != (Windows.Foundation.Point point1, Windows.Foundation.Point point2);
static member op_Inequality : Windows.Foundation.Point * Windows.Foundation.Point -> bool
Public Shared Operator != (point1 As Point, point2 As Point) As Boolean

Parameters

point1
Point

The first point to compare.

point2
Point

The second point to compare.

Returns

true if point1 and point2 have different X or Y values; false if point1 and point2 have the same X and Y values.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Point struct. For more information, see Point in the UWP API reference.

For more information and examples of this member, see Point.Inequality in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to