ArcGIS Pro 2.7 API Reference Guide
ItemID Property

ArcGIS.Desktop.Core.Portal Namespace > PortalItem Class : ItemID Property
Gets the id of the item
Syntax
public string ItemID {get;}
Public ReadOnly Property ItemID As String
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PortalItem Class
PortalItem Members