ArcGIS Runtime SDK for WPF - Library Reference
FromPortalItemTaskAsync Method
See Also 
ESRI.ArcGIS.Client.WebMap Namespace > WebMapLayer Class : FromPortalItemTaskAsync Method

portalItem
Creates asynchronously a WebMapLayer from an ArcGIS Portal item using a task object. The portal item type must by a ESRI.ArcGIS.Client.Portal.ItemType.MapService or ESRI.ArcGIS.Client.Portal.ItemType.FeatureService.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromPortalItemTaskAsync( _
   ByVal portalItem As ArcGISPortalItem _
) As Task(Of WebMapLayer)
C# 
public static Task<WebMapLayer> FromPortalItemTaskAsync( 
   ArcGISPortalItem portalItem
)

Parameters

portalItem

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.