ArcGIS Pro 2.7 API Reference Guide
HasChild Method

ArcGIS.Desktop.Core Namespace > Item Class : HasChild Method
The child item to check for
Check if the item contains the specified child item in its child collection
Syntax
protected internal bool HasChild( 
   Item item
)
Protected Friend Function HasChild( _
   ByVal item As Item _
) As Boolean

Parameters

item
The child item to check for

Return Value

True if the item is contained in the child collection
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Item Class
Item Members