Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude.
| C# | Visual Basic |
public bool Equals( GeoCoordinate other )
Public Function Equals ( _ other As GeoCoordinate _ ) As Boolean
- other (GeoCoordinate)
- The GeoCoordinate object to compare to the calling object.
true if the GeoCoordinate objects are equal; otherwise, false.
Equivalent GeoCoordinate objects have the same Latitude and Longitude properties.
The Altitude, HorizontalAccuracy, and VerticalAccuracy properties are not used in determining equivalency.