Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the root of the application object tree.
Syntax
public TreeNode rootNode()
Run On
Called
Return Value
Type: TreeNode Class
The root of the application object tree.
Examples
The following example prints out all the names of the methods in the AddressSelectForm class. The rootnode method is used to set the treenode object to the AOT root before selecting a child node.
{
Treenode treenode;
TreenodeIterator it;
treenode = infolog.rootNode();
treenode = treenode.AOTfindChild("Classes");
treenode = treenode.AOTfindChild("AddressSelectForm");
it = treenode.AOTiterator();
while (treenode)
{
print treenode.treeNodeName();
treenode = it.next();
}
pause;
}