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

See Also

Reference

PortalItem Class
PortalItem Members