ArcGIS API for WPF - Library Reference
Geocode(String,EventHandler<GeocodeCompletedEventArgs>,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Bing Namespace > Geocoder Class > Geocode Method : Geocode(String,EventHandler<GeocodeCompletedEventArgs>,Object) Method

address
The address to geocode.
onComplete
The method to call on complete.
userState
user state.
Geocodes address using an asynchronous call to Bings geocoding service.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Geocode( _
   ByVal address As String, _
   ByVal onComplete As EventHandler(Of GeocodeCompletedEventArgs), _
   ByVal userState As Object _
) 
C# 
public void Geocode( 
   string address,
   EventHandler<GeocodeCompletedEventArgs> onComplete,
   object userState
)

Parameters

address
The address to geocode.
onComplete
The method to call on complete.
userState
user state.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.