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

OnRemoveFromProject Method (CustomProjectItemBase)
Callback when your custom item is being removed from the project
Syntax
public virtual void OnRemoveFromProject()
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also