ArcGIS Pro 2.9 API Reference Guide
ProjectID Property

ArcGIS.Desktop.Layouts Namespace > Layout Class : ProjectID Property
Gets the ID of the project that contains the layout.
Syntax
public int ProjectID {get;}
Public ReadOnly Property ProjectID As Integer

Property Value

Type: Integer
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members