Click or drag to resize

AddressNames Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Array of street names for the street (some streets may have more than one name).

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public string[] Names { get; }

Property Value

Type: String
Remarks

The street may be identified by a number of different names, such as the I-405 which is also known as the San Diego Freeway. In this instance the most commonly used name will be the first value in the array. Alternate names are not ranked.

Use the array.Length property to check if alternate names exist.

Examples
C#
// Geocode a location on the San Diego Freeway
Address addr = GeoCoder.ReverseGeoCode(new LatLon(33.462080, -117.662400));
Console.WriteLine("Street name is '{0}'", addr.Names[0]);
Console.WriteLine("Other names for this street include:");
for (int i = 1; i < addr.Names.Length; i++) {
    Console.WriteLine("\t{0}", addr.Names[i]);
}
// Output:
// Street name is 'San Diego Fwy [I-5]'
// Other names for this street include:
// I-5
// San Diego Fwy
See Also