ArcGIS API for Silverlight - Library Reference
GetMapAsync(String,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.WebMap Namespace > Document Class > GetMapAsync Method : GetMapAsync(String,Object) Method

itemId
The item ID of an ArcGIS web map in ArcGIS online.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Creates a map from ArcGIS Online based on its Item ID.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub GetMapAsync( _
   ByVal itemId As String, _
   Optional ByVal userToken As Object _
) 
C# 
public void GetMapAsync( 
   string itemId,
   object userToken
)

Parameters

itemId
The item ID of an ArcGIS web map in ArcGIS online.
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, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.