ArcGIS Pro 2.8 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

See Also

Reference

Layout Class
Layout Members