ArcGIS Pro 2.9 API Reference Guide
PortalItemType Property

ArcGIS.Desktop.Core.Portal Namespace > PortalItem Class : PortalItemType Property
Gets the GIS content type of this item.
Syntax
public PortalItemType PortalItemType {get;}
Public ReadOnly Property PortalItemType As PortalItemType
Remarks
Example types include : "Web Map" and "Web Mapping Application"
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PortalItem Class
PortalItem Members