Muokkaa

Jaa


GeoCoordinate.Equals Method

Definition

Determines whether two GeoCoordinate objects are equivalent, based solely on latitude and longitude.

Overloads

Equals(GeoCoordinate)

Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude.

Equals(Object)

Determines if a specified GeoCoordinate is equal to the current GeoCoordinate, based solely on latitude and longitude.

Equals(GeoCoordinate)

Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude.

public:
 virtual bool Equals(System::Device::Location::GeoCoordinate ^ other);
public bool Equals (System.Device.Location.GeoCoordinate other);
override this.Equals : System.Device.Location.GeoCoordinate -> bool
Public Function Equals (other As GeoCoordinate) As Boolean

Parameters

other
GeoCoordinate

The GeoCoordinate object to compare to the calling object.

Returns

true if the GeoCoordinate objects are equal; otherwise, false.

Implements

Remarks

Equivalent GeoCoordinate objects have the same Latitude and Longitude properties. The Altitude, HorizontalAccuracy, and VerticalAccuracy properties are not used to determine equivalency.

Applies to

Equals(Object)

Determines if a specified GeoCoordinate is equal to the current GeoCoordinate, based solely on latitude and longitude.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare the GeoCoordinate to.

Returns

true, if the GeoCoordinate objects are equal; otherwise, false.

Remarks

Equivalent GeoCoordinate objects have the same Latitude and Longitude properties. The Altitude, HorizontalAccuracy, and VerticalAccuracy properties are not used to determine equivalency.

Applies to