ArcGIS Pro 3.2 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

In This Topic
    CreateItemPrototype Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also