TreeNode.AOTname Method

Returns the value of the name property of the node.

Syntax

public str AOTname()

Run On

Called

Return Value

Type: str
The string that contains the value of the name property

Remarks

In most cases, this yields the same result as the method TreeNodeName.

Examples

The following example prints out the name of the first child of the tree node.

static void Job(Args _args) 
{ 
    treeNode t = infolog.findNode('\\Reports\\AssetAcquisition\\Designs\\ReportDesign1\\AutoDesignSpecs'); 
 
    t = t.AOTfirstChild(); 
    print "treeNodeName: " + t.treeNodeName(); 
    print "AOTName:" + t.AOTName(); 
    pause; 
}

See Also

TreeNode Class

TreeNode.treeNodeName Method

TreeNode.treeNodePath Method