ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / Parent Property

In This Topic
    Parent Property (Layer)
    In This Topic
    Gets the parent of the layer. It is either the group layer it belongs to, or the map for layers that do not belong in any group layers.
    Syntax
    public ILayerContainer Parent {get;}
    Public ReadOnly Property Parent As ILayerContainer
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also