ArcGIS Pro 2.8 API Reference Guide
HasChildren Property

ArcGIS.Desktop.Core Namespace > Item Class : HasChildren Property
Checks whether the item has child items in its child item collection
Syntax
protected internal bool HasChildren {get;}
Protected Friend ReadOnly Property HasChildren As Boolean

Property Value

True if the count of child items is greater than zero
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Item Class
Item Members