ArcGIS Pro 3.7 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 ReadOnly Property Parent As ILayerContainer
    public ILayerContainer Parent {get;}
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also