ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomProjectItemBase Class / GetInfo Method

In This Topic
    GetInfo Method (CustomProjectItemBase)
    In This Topic
    Called when your custom project item is being added to the project.
    Syntax
    public ProjectItemInfo GetInfo()
    Public Function GetInfo() As ProjectItemInfo

    Return Value

    Remarks
    The content of the ProjectItemInfo is what is added to the project for your given item. In your custom project item implementation it must be populated as follows:
    o ProjectItemInfo Name: your Item.Name
    o ProjectItemInfo Type: Your Container Type
    o ProjectItemInfo Path: Your physical path to the item
    o ProjectItemInfo Data: Empty string. For internal use only
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also