ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / DownloadOptions Class / AskForOfflineMapsLocation Property

AskForOfflineMapsLocation Property
Gets and sets the 'Ask where to save before downloading' option for offline maps.
Syntax
public bool AskForOfflineMapsLocation {get; set;}
Remarks
Setting this property to true automatically clears out the OfflineMapsLocation property and sets the OfflineMapsToProjectLocation property to false.
This property is automatically set to false if the OfflineMapsLocation property is set or OfflineMapsToProjectLocation is set to true.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.9 or higher.
See Also