ResolveAddress Method
Collapse the table of content
Expand the table of content

CivicAddressResolver.ResolveAddress Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Attempts to synchronously obtain a civic address from the provided geographic coordinate. This method is not implemented in the current release. On Windows Phone 8, you can use ReverseGeocodeQuery to obtain a civic address from a geographical coordinate.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public CivicAddress ResolveAddress(
	GeoCoordinate coordinate
)

Parameters

coordinate
Type: System.Device.Location.GeoCoordinate
The geographic coordinate from which a civic address is resolved.

Return Value

Type: System.Device.Location.CivicAddress
Returns CivicAddress. The civic address associated with the provided geographic coordinate.

Implements

ICivicAddressResolver.ResolveAddress(GeoCoordinate)

This method may throw one of the following exceptions.

ArgumentNullException

The coordinate parameter is null.

ArgumentException

The coordinate parameter contains no data. For more information, see the IsUnknown property of the GeoCoordinate class.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft