Share via


TreeNode.AOTcompile Method

Compiles this node and its subnodes.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean AOTcompile(
           [int flag, 
            boolean forceNoXRef, 
            boolean fastMode])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean AOTcompile(
           [int flag, 
            boolean forceNoXRef, 
            boolean fastMode])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void AOTcompile([int flag, boolean forceNoXRef])

  Microsoft Dynamics AX 2012 (FPK)
          public void AOTcompile([int flag, boolean forceNoXRef])

  Microsoft Dynamics AX 2012 (SYS)
          public void AOTcompile([int flag, boolean forceNoXRef])

Run On

Called

Parameters

  • flag
    Type: int
    An integer that indicates whether output should be sent to the message box. If the value 1 is passed, no output is sent to the message box. The default value is 0. This parameter is optional.

Examples

The following example compiles every form element in the application.

#AOT 
static void myJobAOTcompile(Args _args) 
{ 
    treeNode treeNode; 
 
    treeNode = TreeNode::findNode(#FormsPath); 
    treeNode.AOTcompile(); 
}

See Also

TreeNode Class

TreeNode.AOTmakeXref Method

TreeNode.AOTrestore Method

TreeNode.treeNodeExport Method

TreeNode.AOTsave Method

TreeNode.AOTrun Method