Jump to content

API Tree.CountNamedChildren

From Flowcode Help
Revision as of 14:07, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
CountNamedChildren
Returns the number of immediate children present for the object 
- HANDLE Object
The object to count all the named immediate children of 
- STRING TargetName
The name of the child that must match 
- ULONG Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type ULONG
  • Add to a calculation icon:
    result = ::Tree.CountNamedChildren(object, "targetname")