Retrieves the number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
- includeSubTrees
- true to count the System.Windows.Forms.TreeNode items that the subtrees contain; otherwise, false.
The number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
If includeSubTrees is true, the result is the number of all the tree nodes in the entire tree structure.