AddressNameInfoIsHighwayName Property |
Namespace: Telogis.GeoBase
// Set a location LatLon Location = new LatLon(33.661945, -117.798510); // Construct an Address.NameInfo Address.NameInfo newNameInfo = new Address.NameInfo(GeoCoder.ReverseGeoCode(Location).Names[0].ToString()); // Print the result if (newNameInfo.IsHighwayName) { Console.WriteLine("Street name '{0}' is also a highway name", newNameInfo.Name); } else { Console.WriteLine("Street name '{0}' is not a highway name", newNameInfo.Name); } // 'Street name 'Eucalyptus' is not a highway name'