cnsGetChildren

Returns the ID paths of all child element of a node.

Synopsis

bool cnsGetChildren(string cnsNodePath, dyn_string &cnsChildPaths);

Parameters

Parameter Description
cnsNodePath The ID path of the node
cnsChildpaths Receives the paths of all child elements of a node.

Return value

Returns TRUE if successful or FALSE in case of an error.

Errors

Possible errors:

  • Pfad nicht gefunden

Description

The function returns the ID paths of all child elements of the given node.

main()
{
  dyn_string childPath;
  cnsGetChildren("System1.View123:Tree1", childPath);
}

Availability

UI, CTRL