CityName Property  
 

Gets the city name for the current location.

Syntax

object.CityName

Remarks

This property returns a string which identifies the city in which the external IP address is located. These names will always be in English, regardless of the current system locale. If the city name cannot be determined, this property may return an empty string.

Data Type

String

See Also

CountryName Property, PostalCode Property, RegionName Property, Subdivision Property