ArcGIS Pro 2.7 API Reference Guide
GetItemDataAsync Method

ArcGIS.Desktop.Core.Portal Namespace > PortalItem Class : GetItemDataAsync Method
Gets the item data. This resource is available only for the file and text item types.
Syntax
public Task<bool> GetItemDataAsync( 
   string fileName
)
Public Function GetItemDataAsync( _
   ByVal fileName As String _
) As Task(Of Boolean)

Parameters

fileName
Remarks
The data component of an item (the "item file") is used to stream the actual data represented by the item to the client.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PortalItem Class
PortalItem Members