ArcGIS Pro 2.6 API Reference Guide
OnRemoveFromProject Method (MapProjectItem)

ArcGIS.Desktop.Mapping Namespace > MapProjectItem Class : OnRemoveFromProject Method
Call back whenever a project item is going to be removed from a project
Syntax
public override void OnRemoveFromProject()
Public Overrides NotOverridable Sub OnRemoveFromProject() 
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapProjectItem Class
MapProjectItem Members