TreeNode.AOTgetProperties Method

Returns a string containing the properties of the tree node.

Syntax

public str AOTgetProperties(
   [boolean includeInvisible, 
    boolean includeReadOnly, 
    boolean includeNonExportable])

Run On

Called

Parameters

  • includeNonExportable
    Type: boolean

Return Value

Type: str
A string containing the properties of the tree node.

Examples

The following example provides a list of temporary tables in Microsoft Dynamics AX.

{ 
    #aot 
    #properties 
    TreeNode        tn = TreeNode::findNode(#TablesPath); 
    str             tableName; 
    str             temporaryProperty; 
 
    tn = tn.AOTfirstChild(); 
    while (tn) 
    { 
        tableName = findProperty(tn.AOTgetProperties(), #PropertyName); 
        temporaryProperty = findProperty( 
            tn.AOTgetProperties(), 
            #PropertyTemporary); 
        info (strfmt( 
            'Table %1 has the temporary property specified as %2', 
            tableName, temporaryProperty)); 
        tn = tn.AOTnextSibling(); 
    } 
}

See Also

TreeNode Class

TreeNode.AOTsetProperties Method

TreeNode.AOTsetPropertiesExt Method