ArcGIS Pro 2.7 API Reference Guide
CreateItemPrototype Method

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
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
)
Public Overrides Function CreateItemPrototype( _
   ByVal name As String, _
   ByVal path As String, _
   ByVal containerType As String, _
   ByVal data As String _
) As Item

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 10, Windows 8.1

See Also

Reference

CustomProjectItemContainer<T> Class
CustomProjectItemContainer<T> Members