API Tree.CountNamedChildren

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png CountNamedChildren
Returns the number of immediate children present for the object 
Fc9-h32-icon.png - HANDLE Object
The object to count all the named immediate children of 
Fc9-string-icon.png - STRING TargetName
The name of the child that must match 
Fc9-u32-icon.png - 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")