ArcGIS API for Silverlight - Library Reference
GetItemDataAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortalItem Class : GetItemDataAsync 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.
callback
The callback executed when the result is available.
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 Sub GetItemDataAsync( _
   ByVal outputFormat As String, _
   ByVal callback As Action(Of Stream,Exception) _
) 
C# 
public void GetItemDataAsync( 
   string outputFormat,
   Action<Stream,Exception> callback
)

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.
callback
The callback executed when the result is available.

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.