Click or drag to resize

PortalItem Constructor (ArcGISPortal, PortalItemType, String)

Initializes a new instance of the PortalItem class. Creates a new portal item object with the specified type and title 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,
	string title
)

Parameters

portal
Type: Esri.ArcGISRuntime.PortalArcGISPortal
The ArcGIS portal.
type
Type: Esri.ArcGISRuntime.PortalPortalItemType
The type of the new portal item.
title
Type: SystemString
The title 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. For initializing an instance from an existing item use the CreateAsync(ArcGISPortal, String) static factory.
See Also