ArcGIS Pro 2.9 API Reference Guide
URI Property (Project)

ArcGIS.Desktop.Core Namespace > Project Class : URI Property
Gets the location of the current project; that is, the path to the current project file (*.aprx)
Syntax
public string URI {get;}
Public ReadOnly Property URI As String
Remarks

When you open a project package, either from a local drive or the active portal, the package is unpacked and the project file (*.aprx) it contains is opened by ArcGIS Pro. This property gets the location of the currently open project file, not the URI of the original project package.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Project Class
Project Members