Point.Equality operator

Applies to Windows and Windows Phone

Compares two Point structures for equality.

Syntax


Public Shared Operator = (
  point1 As Point,  
  point2 As Point 
) As Boolean

Parameters

point1

Type: Point

The first Point structure to compare.

point2

Type: Point

The second Point structure to compare.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.dll

See also

Point

 

 

Show:
© 2014 Microsoft