ArcGIS Pro 3.0 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, Windows 8.1

    See Also