TreeView.getNodeCount

Overview | Methods | This Package | All Packages

TreeView.getNodeCount

Retrieves the number of root nodes contained in the tree view control.

Syntax

public int getNodeCount()

public int getNodeCount( boolean includeSubTrees )

Parameters

includeSubTrees

Set to true to include all nodes in the tree view control; set to false (or omit) to include only root nodes.

Return Value

Returns an integer that represents the number of nodes contained in the tree view control.