WinStudio

TreeGetChildNodeCountAt Method

Applies To

IWSFormComponent interface, tree objects

Definition

Returns an integer indicating the number of child nodes found at a specific tree node.

Syntax

object.TreeGetChildNodeCountAt( string )

  Part

  Description

object Required. A reference to a valid tree component object.
string Required. The tree node ID (GUID) or node index series.

Remarks

For more information, see Notes on the Tree Node ID (GUID) and Index Series.

Example

Dim childNodeCount as Integer = 0
childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("My Tree Node ID")
childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("2,0")