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
Version

InsertChild Method
Insert the child item into the item's child collection at the specified index
Syntax
protected internal void InsertChild( 
   int index,
   Item 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