Click or drag to resize

PortalItem Constructor (ArcGISPortal, PortalItemType)

Initializes a new instance of the PortalItem class. Creates a new portal item object with the specified type for the specified portal.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public PortalItem(
	ArcGISPortal portal,
	PortalItemType type
)

Parameters

portal
Type: Esri.ArcGISRuntime.PortalArcGISPortal
The ArcGIS portal.
type
Type: Esri.ArcGISRuntime.PortalPortalItemType
The content type of the new portal item.
Remarks
This constructor is used if you wish to create a new item that you will add to a portal.
See Also