NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeView.GetNodeCount

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;

Parameters

includeSubTrees
Whether to include nodes in subtrees in the count.

Return Value

int Count of nodes. If includeSubTrees is true, the result is the count of all the nodes in the entire tree.

See Also

TreeView Class | TreeView Members | System.WinForms Namespace