Click or drag to resize

GeocodeAddressAddressRanges Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the known street-number ranges for the result of this geocode. If this address is not a street, or if a specific street-number was provided as part of the search, null will be returned. If there is no known number data for this street, an empty array will be returned.

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

Property Value

Type: StreetDataAddressRange
Examples
C#
StreetData.AddressRange[] myRange = GeoCoder.GeoCode("Enterprise, Aliso Viejo, California", Country.USA)[0].AddressRanges;
try {
    Console.WriteLine("Range of street numbers on this street is {0}", myRange[0]);
    // 'Range of street numbers on this street is 1, 3, 5, 7... 199'
} catch (NullReferenceException) {
    Console.WriteLine("Returns null if a specific street number is supplied, or if this is not an address");
}
See Also