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

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

ArcGIS Pro version: 3 or higher.
See Also