Bewerken

Delen via


Point.Equality(Point, Point) Operator

Definition

Compares two Point structs for equality.

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 ( = ) : Windows.Foundation.Point * Windows.Foundation.Point -> bool
Public Shared Operator == (point1 As Point, point2 As Point) As Boolean

Parameters

point1
Point

The first Point struct to compare.

point2
Point

The second Point struct to compare.

Returns

true if both the X and Y values of point1 and point2 are equal; otherwise, false.

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.Equality in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to