Click or drag to resize

AddressNameInfoIsNumber Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns true if the name of this street is a number.

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

Property Value

Type: Boolean
Examples
C#
// Set a location (San Diego Freeway, Los Angeles)
LatLon Location = new LatLon(33.668795, -117.820095);
// Construct an Address.NameInfo array
StringBuilder compiledOutput = new StringBuilder();
Address.NameInfo[] myStreetsArray = GeoCoder.ReverseGeoCode(Location).ExtendedNameInfo;
for (int i = 0; i < myStreetsArray.Length; i++) {
    if (myStreetsArray[i].IsNumber) {
        compiledOutput.AppendFormat("Street name '{0}' is a number.\n", myStreetsArray[i].Name);
    } else {
        compiledOutput.AppendFormat("Street name '{0}' is not a number.\n", myStreetsArray[i].Name);
    }
}
Console.WriteLine(compiledOutput);
// Street name 'San Diego Fwy [I-405]' is not a number.
// Street name 'I-405' is not a number.
// Street name 'San Diego Fwy' is not a number.
See Also