Deletes all tree items in the tree.

Syntax

<oRef>.releaseAllChildren( )

<oRef>

The TreeView object you want to clear.

Property of

TreeView

Description

Call releaseAllChildren( ) to delete the entire contents of a tree view so that you can start over. To delete an individual tree item and it subtree, call the tree item’s release( ) method.