Click or drag to resize

AddressCity Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The name of the city. This value may be null if relevant city data is unavailable.

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

Property Value

Type: String
Examples
C#
// Set a location (San Diego Freeway, Los Angeles)
LatLon Location = new LatLon(33.668795, -117.820095);
String city = GeoCoder.ReverseGeoCode(Location).City;
Console.WriteLine("The city containing this address is {0}", city);
// 'The city containing this address is Irvine'
See Also