Difference between revisions of "API Tree.CountChildren"
From Flowcode Help
Jump to navigationJump to search| Line 18: | Line 18: | ||
==Detailed description==  | ==Detailed description==  | ||
| − | + | ||
| Line 25: | Line 25: | ||
* Declare a variable 'result' of type ULONG  | * Declare a variable 'result' of type ULONG  | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CountChildren(object)</pre>  | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CountChildren(object)</pre>  | ||
| − | |||
| − | |||
Latest revision as of 11:55, 16 January 2023
| CountChildren | |
| Returns the number of immediate children present for the object | |
| Object | |
| The object to count all the immediate children of | |
| Return | |
Detailed description
Examples
Calling in a calculation
- Declare a variable 'result' of type ULONG
 - Add to a calculation icon: 
result = ::Tree.CountChildren(object)