ArcGIS Pro 2.6 API Reference Guide
ItemFactory.ItemType Enumeration

ArcGIS.Desktop.Core Namespace : ItemFactory.ItemType Enumeration
Specifies the type of item that will be created using ItemFactory.Create, then added or imported to the project
Syntax
Members
MemberDescription
PathItem A project item will be created and added to the current project in a manner that is appropriate for the identified resource. For example, a map file identified by a file path will be imported and a new MapProjectItem will be added to the project. If the path identifies a locator, a new locator connection will be added to the project.
PortalFolderItem An item will be created to reference a folder of resources that is available from the active portal. For example, when the provided URL identifies a folder in My Content, you can use browse the returned item's content and identify the web map you want to add to your project.
PortalItem A portal item will be created to reference an item available from the active portal. For example, when the provided URL identifies a feature layer or scene layer, you can add that portal item to a map or scene in your project. If the URL identifies a map package, it can be downloaded and added to the project.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ArcGIS.Desktop.Core.ItemFactory.ItemType

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ArcGIS.Desktop.Core Namespace