ArcGIS Pro 2.9 API Reference Guide
LocationPath Property

ArcGIS.Desktop.Core Namespace > CreateProjectSettings Class : LocationPath Property
Gets and sets the location where the project will be stored
Syntax
public string LocationPath {get; set;}
Public Property LocationPath As String
Remarks

If not set, projects are saved in the user's My Documents\ArcGIS\Projects folder; this folder is created if it doesn't already exist.

If the LocationPath property is set, the new project will be created in the provided location; the specified folder must already exist on disk.

LocationPath is ignored if the TemplateType is set to Untitled.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CreateProjectSettings Class
CreateProjectSettings Members