ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / CoreModule Class / CurrentProject Property
Version

CurrentProject Property
Gets the project that is currently open in the ArcGIS Pro application
Syntax
public static Project CurrentProject {get; set;}
Remarks
Only one project can be opened at a time in ArcGIS Pro. When another project is opened or a new project is created, this property is updated to reflect the newly opened project.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also