ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElement Interface / GetParent Method
If true then the top most parent or 'container' is returned

In This Topic
    GetParent Method (IElement)
    In This Topic
    Gets the parent of this element.
    Syntax
    Function GetParent( _
       Optional ByVal topMost As Boolean _
    ) As IElementContainer

    Parameters

    topMost
    If true then the top most parent or 'container' is returned

    Return Value

    Remarks
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also