DeleteChildren Method 311
Applies To: TreeView

Description

This method is used to delete child items from a parent item in a TreeView object.

The argument to DeleteChildren is a scalar or 1 element array as follows:

[1] Item number Integer.

Item number specifies the index of the parent item from which the child items are to be removed.

The result is an integer that indicates the number of children that have been removed from the parent item.