ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ElevationSurfaceLayer Class / CanRemoveLayer Method
A Layer to be removed.

In This Topic
    CanRemoveLayer Method (ElevationSurfaceLayer)
    In This Topic
    Determines if a layer can be removed from the container.
    Syntax
    Public Function CanRemoveLayer( _
       ByVal layer As Layer _
    ) As Boolean
    public bool CanRemoveLayer( 
       Layer layer
    )

    Parameters

    layer
    A Layer to be removed.

    Return Value

    True if the layer can be removed. False otherwise.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.3 or higher.
    See Also