Skip to content

Clear Method

Description

Removes all tree nodes from the collection.

Syntax

Public Sub Clear()

Remarks

You can use this method to clear the entire collection of tree nodes from a tree view.

To remove an individual tree node from the collection, use the Remove method.

To add new TreeViewNode objects to the collection, use the Add method.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.