ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomProjectItemBase Class / OnGetInfo Method
Version

OnGetInfo Method
Returns a ProjectItemInfo needed to add your custom project item information to a given project.
Syntax
public abstract ProjectItemInfo OnGetInfo()

Return Value

Remarks
Within OnGetInfo, the ProjectItemInfo should 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 or higher.
See Also