ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Layout Class / ProjectID Property

ProjectID Property
Gets the ID of the project that contains the layout.
Syntax
public int ProjectID {get;}

Property Value

Type: Integer
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also