ArcGIS Runtime SDK for WPF - Library Reference
GetItemDataTaskAsync Method
See Also 
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortalItem Class : GetItemDataTaskAsync Method

outputFormat
An optional output format parameter. Only applies to Package types. 'zip' will download a package in zip format rather than the package format.
Gets the item data. The data component of an item (the "item file") is used to stream the actual data represented by the item to the client. This resource is available only for the file and text item types.

Syntax

Visual Basic (Declaration) 
Public Function GetItemDataTaskAsync( _
   Optional ByVal outputFormat As String _
) As Task(Of Stream)
C# 
public Task<Stream> GetItemDataTaskAsync( 
   string outputFormat
)

Parameters

outputFormat
An optional output format parameter. Only applies to Package types. 'zip' will download a package in zip format rather than the package format.

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.