ArcGIS Pro 2.8 API Reference Guide
CurrentProject Property

ArcGIS.Desktop.Core Namespace > CoreModule Class : CurrentProject Property
Gets the project that is currently open in the ArcGIS Pro application
Syntax
public static Project CurrentProject {get; set;}
Public Shared Property CurrentProject As Project
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 10, Windows 8.1

See Also

Reference

CoreModule Class
CoreModule Members