ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapProjectItem Class / OnRemoveFromProject Method

In This Topic
    OnRemoveFromProject Method (MapProjectItem)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also