Retrieves the number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.

Namespace:  AltaVim.WinForms
Assembly:  AltaVim.WinForms.ExtendedTreeView.NET20 (in AltaVim.WinForms.ExtendedTreeView.NET20)
Version: 5.5.0.0

Syntax

C#
public int GetNodeCount(
	bool includeSubTrees
)
Visual Basic (Declaration)
Public Function GetNodeCount ( _
	includeSubTrees As Boolean _
) As Integer
Visual C++
public:
int GetNodeCount(
	bool includeSubTrees
)

Parameters

includeSubTrees
Type: System..::.Boolean
true to count the TreeNode items that the subtrees contain; otherwise, false.

Return Value

The number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.

See Also