ArcGIS Pro 2.9 API Reference Guide
DownloadItem Method

ArcGIS.Desktop.Catalog.BimCloudConnections Namespace > BimCloudFileItem Class : DownloadItem Method
The directory to which this item will be downloaded
Download this item to the specified directory. The directory must already exist. If a file of the same name already exists in the directory, it will be overwritten.
Syntax
public abstract Item DownloadItem( 
   string directoryPath
)
Public MustOverride Function DownloadItem( _
   ByVal directoryPath As String _
) As Item

Parameters

directoryPath
The directory to which this item will be downloaded

Return Value

Returns an ArcGIS.Desktop.Core.Item of the downloaded item if download succeeded. Returns null if the download failed
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

BimCloudFileItem Class
BimCloudFileItem Members