CivicAddress class

Applies to Windows and Windows Phone

Represents the civic address data associated with a geographic location.

Syntax


Public NotInheritable Class CivicAddress

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The CivicAddress class has these types of members:

Properties

The CivicAddress class has these properties.

PropertyAccess typeDescription

City

Read-onlyThe name of the city.

Country

Read-onlyThe name of the country, represented by using a two-letter ISO-3166 country code.

PostalCode

Read-onlyThe postal code of the current location.

State

Read-onlyThe name of the state or province.

Timestamp

Read-onlyThe 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

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

 

 

Show:
© 2014 Microsoft