ArcGIS Pro 2.9 API Reference Guide
FolderID Property (PortalItem)

ArcGIS.Desktop.Core.Portal Namespace > PortalItem Class : FolderID Property
Gets the folder id in which the owner has stored the item.
Syntax
public string FolderID {get;}
Public ReadOnly Property FolderID As String
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PortalItem Class
PortalItem Members