ArcGIS Runtime SDK for WPF - Library Reference
LocationToAddressTaskAsync(MapPoint,Double,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > Locator Class > LocationToAddressTaskAsync Method : LocationToAddressTaskAsync(MapPoint,Double,CancellationToken) Method

location
The point at which to search for the closest address. The location should be in the same spatial reference as that of the geocode service.
distance
The distance in meters from the given location within which a matching address should be searched.
cancellationToken
The cancellation token.
Sends a request to the ArcGIS REST geocode resource to Locates an address based on a given point.

Syntax

Visual Basic (Declaration) 
Public Overloads Function LocationToAddressTaskAsync( _
   ByVal location As MapPoint, _
   ByVal distance As Double, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of LocationToAddressResult)
C# 
public Task<LocationToAddressResult> LocationToAddressTaskAsync( 
   MapPoint location,
   double distance,
   CancellationToken cancellationToken
)

Parameters

location
The point at which to search for the closest address. The location should be in the same spatial reference as that of the geocode service.
distance
The distance in meters from the given location within which a matching address should be searched.
cancellationToken
The cancellation token.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.