ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElementContainer Interface / InsertElement Method
The element.
(Optinal). The index to insert the element at.

In This Topic
    InsertElement Method
    In This Topic
    Inserts a new element at the specified position.
    Syntax
    void InsertElement( 
       IElement element,
       int index
    )
    Sub InsertElement( _
       ByVal element As IElement, _
       Optional ByVal index As Integer _
    ) 

    Parameters

    element
    The element.
    index
    (Optinal). The index to insert the element at.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also