Click or drag to resize

AddressNameInfoIsHighwayName Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Whether this is the highway name of the street.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public bool IsHighwayName { get; }

Property Value

Type: Boolean
Examples
C#
// 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'
See Also