ArcGIS Pro 2.6 API Reference Guide
InsertChild Method

ArcGIS.Desktop.Core Namespace > Item Class : InsertChild Method
The zero-based index at which item should be inserted
The child item to insert
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 10, Windows 8.1, Windows 7

See Also

Reference

Item Class
Item Members