ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

Layout Class
Layout Members