ArcGIS Pro 2.9 API Reference Guide
OnAddToProject Method (CustomProjectItemBase)

ArcGIS.Desktop.Core Namespace > CustomProjectItemBase Class : OnAddToProject Method
Callback when your custom item is being added to the project
Syntax
public virtual void OnAddToProject()
Public Overridable Sub OnAddToProject() 
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CustomProjectItemBase Class
CustomProjectItemBase Members