ArcGIS Pro 2.7 API Reference Guide
GetInfo Method (CustomProjectItemBase)

ArcGIS.Desktop.Core Namespace > CustomProjectItemBase Class : GetInfo Method
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 10, Windows 8.1

See Also

Reference

CustomProjectItemBase Class
CustomProjectItemBase Members