Returns count of nodes at root, optionally including all subtrees.
[Visual Basic] Public Function GetNodeCount( _ ByVal includeSubTrees As Boolean _ ) As Integer [C#] public int GetNodeCount( bool includeSubTrees ); [C++] public: int GetNodeCount( bool includeSubTrees ); [JScript] public function GetNodeCount( includeSubTrees : Boolean ) : int;
int Count of nodes. If includeSubTrees is true, the result is the count of all the nodes in the entire tree.
TreeView Class | TreeView Members | System.WinForms Namespace