ArcGIS Pro 2.6 API Reference Guide
Current Property (Project)

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

See Also

Reference

Project Class
Project Members