ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / RemoveOverwrittenLayers Property

In This Topic
    RemoveOverwrittenLayers Property
    In This Topic
    Gets whether layers in a map are removed if their source datasets are deleted by a geoprocessing tool that overwrites output.
    Syntax
    public bool RemoveOverwrittenLayers {get;}
    Public ReadOnly Property RemoveOverwrittenLayers As Boolean
    Remarks
    Note: see ArcGIS.Desktop.Core.Geoprocessing.GPExecuteToolFlags for available options for modifying behavior of ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.ExecuteToolAsync. Changing these parameters modifies behavior of interactive GP tools
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also