SubdivisionCode Property  
 

Gets the alphanumeric code for the current subdivision.

Syntax

object.SubdivisionCode

Remarks

This property returns a string which is either a two- or three-letter code which identifies a geopolitical subdivision within the country where the external IP address is located. These codes are defined by the ISO 3166-2 standard. For example, the code for the state of California in the United States is "CA".

For international specificity, these subdivision codes are often combined with the value of the ISO alpha-2 code returned by the CountryAlpha property. For example, to identify the state of California, you could combine with the alpha-2 code for the United States, creating "US-CA" as an identifier.

If a subdivision code does not exist for the location, this property will return an empty string.

Data Type

String

See Also

CountryAlpha Property, CountryCode Property, RegionCode Property, Subdivision Property