LatLonEquals Method | |
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
)
Public Overrides Function Equals (
other As Object
) As Boolean
Parameters
- other
- Type: SystemObject
The LatLon to compare with.
Return Value
Type:
BooleanReturns
true if the two
LatLon
occupy the same coordinates, otherwise
false.
Examples 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));
See Also