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

In This Topic
    HasChild Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also