ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomProjectItemContainer<T> Class / CreateItemPrototype Method
The name of the item
It's physical path
The type of the container
For internal use. This will be empty
Version

CreateItemPrototype Method
Provides a factory method for custom project item containers to create custom project items of its contained type.
Syntax
public override Item CreateItemPrototype( 
   string name,
   string path,
   string containerType,
   string data
)

Parameters

name
The name of the item
path
It's physical path
containerType
The type of the container
data
For internal use. This will be empty

Return Value

The created custom project item
Remarks
Called by the base implementation of CreateItem. The parameters passed to the method match the information persisted via ProjectItemInfo via the CustomProjectItem GetInfo() call.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also