ArcGIS API for WPF - Library Reference
LocationToAddressAsync(MapPoint,Double,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > Locator Class > LocationToAddressAsync Method : LocationToAddressAsync(MapPoint,Double,Object) 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.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Sends a request to the ArcGIS REST geocode resource to Locates an address based on a given point. On completion, the AddressToLocationComplete event is fired and the optional callback function is invoked.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LocationToAddressAsync( _
   ByVal location As MapPoint, _
   ByVal distance As Double, _
   ByVal userToken As Object _
) 
C# 
public void LocationToAddressAsync( 
   MapPoint location,
   double distance,
   object userToken
)

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.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.