ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Item Class / InsertChild Method
The zero-based index at which item should be inserted
The child item to insert

In This Topic
    InsertChild Method
    In This Topic
    Insert the child item into the item's child collection at the specified index
    Syntax
    protected internal void InsertChild( 
       int index,
       Item item
    )
    Protected Friend Sub InsertChild( _
       ByVal index As Integer, _
       ByVal item As Item _
    ) 

    Parameters

    index
    The zero-based index at which item should be inserted
    item
    The child item to insert
    Exceptions
    ExceptionDescription
    index is less than 0.-or-index is greater than list Count
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also