Equals Method (GeoCoordinate)
Collapse the table of content
Expand the table of content

GeoCoordinate.Equals Method (GeoCoordinate)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the specified GeoCoordinate has the same latitude and longitude values as this one.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public bool Equals(
	GeoCoordinate other
)

Parameters

other
Type: System.Device.Location.GeoCoordinate
The GeoCoordinate object to compare with the current instance.

Return Value

Type: System.Boolean
Returns Boolean. true if the latitude and longitude properties of both objects have the same value; otherwise, false.

Implements

IEquatable<T>.Equals(T)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft