ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / Item Class / HasChild Method
The child item to check for

HasChild Method
Check if the item contains the specified child item in its child collection
Syntax
protected internal bool HasChild( 
   Item item
)

Parameters

item
The child item to check for

Return Value

True if the item is contained in the child collection
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also