ArcGIS API for WPF - Library Reference
AddressToLocationsAsync(AddressToLocationsParameters,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > Locator Class > AddressToLocationsAsync Method : AddressToLocationsAsync(AddressToLocationsParameters,Object) Method

parameters
The various address fields accepted by the corresponding geocode service along with an optional list of fields to be included in the returned results.
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 find candidates for a single address specified in the address argument. On completion, the AddressToLocationComplete event is fired and the optional callback function is invoked.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddressToLocationsAsync( _
   ByVal parameters As AddressToLocationsParameters, _
   ByVal userToken As Object _
) 
C# 
public void AddressToLocationsAsync( 
   AddressToLocationsParameters parameters,
   object userToken
)

Parameters

parameters
The various address fields accepted by the corresponding geocode service along with an optional list of fields to be included in the returned results.
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.