API Tree.CountChildren: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| 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> | ||
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)