ArcGIS Pro 2.6 API Reference Guide
OnRemoveFromProject Method (IProjectItem)

ArcGIS.Desktop.Core Namespace > IProjectItem Interface : OnRemoveFromProject Method
Callback whenever a project item is going to be removed from a project
Syntax
void OnRemoveFromProject()
Sub OnRemoveFromProject() 
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

IProjectItem Interface
IProjectItem Members