Returns the number of children of a given tree node.

Namespace: TreeLayoutHelper
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
int GetChildCount(
	TNode node
)
Visual Basic
Function GetChildCount ( _
	node As TNode _
) As Integer
Visual C++
int GetChildCount(
	TNode node
)
J#
int GetChildCount(
	TNode node
)
JScript
function GetChildCount(
	node : TNode
) : int
JavaScript
function GetChildCount(node);

Parameters

node
Type: TNode
The tree node.

Return Value

The number of children of node.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionnode is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also