Click or drag to resize

LatLonEquals Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Check for equality with another LatLon by checking if they occupy the same coordinates.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public override bool Equals(
	Object other
)

Parameters

other
Type: SystemObject
The LatLon to compare with.

Return Value

Type: Boolean
Returns true if the two LatLon occupy the same coordinates, otherwise false.
Examples
C#
LatLon a = new LatLon(33.587507, -117.741057);
LatLon b = new LatLon(33.587507, -117.741057);
Console.WriteLine("a and b are the same? {0}", a.Equals(b));
// 'a and b are the same? True'
See Also