Represents the civic address data associated with a geographic location.
Syntax
var civicAddress = Geoposition.CivicAddress;
Attributes
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The CivicAddress class has these types of members:
Methods
The CivicAddress class inherits methods from the Object class (C#/VB/C++).
Properties
The CivicAddress class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | The name of the city. | |
| Read-only | The name of the country, represented by using a two-letter ISO-3166 country code. | |
| Read-only | The postal code of the current location. | |
| Read-only | The name of the state or province. | |
| Read-only | The time at which the location data was obtained. |
Remarks
Civic address data is not available unless a Civic Address provider has been installed. A Civic Address provider is not installed with Windows 8. If no Civic Address provider is installed, the API returns the country set by the user in the Control Panel.
Use Geoposition.CivicAddress to retrieve an instance of this class.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
Build date: 2/25/2013