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.
Creates a subnode to the tree node in the Application Object Tree (AOT).
Syntax
public TreeNode AOTadd(UtilElementName name)
Run On
Called
Parameters
- name
Type: UtilElementName Extended Data Type
A string that indicates the name of the subnode to be created.
Return Value
Type: TreeNode Class
The newly created subnode.
Remarks
The type of subnode that is created depends on where you are in the tree. The new node acquires the name that was passed through the parameter.
Examples
The following example adds a new form to the tree.
void addForm()
{
treeNode treeNode;
xInfo xInfo = new xInfo();
treeNode = xInfo.rootNode();
treeNode = treeNode.AOTfindChild("Forms");
treeNode.AOTadd("myNewForm");
}