Compartir a través de


TreeNode.AOTedit Method

Definition

Overloads

AOTedit()

Opens the appropriate editor for this node.

AOTedit(Int32)
AOTedit(Int32, Int32)

AOTedit()

Opens the appropriate editor for this node.

public:
 virtual void AOTedit();
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual void AOTedit ();
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member AOTedit : unit -> unit
override this.AOTedit : unit -> unit
Public Overridable Sub AOTedit ()
Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

If the node is a method, the code editor will open. If the node is a documentation object, the Help editor will open.

The following code example opens the X++ editor, shows the class declaration of the class Tax, and positions the pointer at line 6, column 8.

#AOT 
static void myJobAOTEdit(Args _args) 
{ 
    treeNode treeNode; 
    treeNode = TreeNode::findNode(#ClassesPath + '\\' + classStr(Tax)+ '\\ClassDeclaration'); 
    if (treeNode) 
    { 
        treeNode.AOTedit(6,8); 
    } 
    else 
    { 
        print "Could not find treeNode"; 
    } 
    pause; 
}

Applies to

AOTedit(Int32)

public:
 virtual void AOTedit(int num1);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual void AOTedit (int num1);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member AOTedit : int -> unit
override this.AOTedit : int -> unit
Public Overridable Sub AOTedit (num1 As Integer)

Parameters

num1
Int32
Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Applies to

AOTedit(Int32, Int32)

public:
 virtual void AOTedit(int _Line, int _Column);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual void AOTedit (int _Line, int _Column);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member AOTedit : int * int -> unit
override this.AOTedit : int * int -> unit
Public Overridable Sub AOTedit (_Line As Integer, _Column As Integer)

Parameters

_Line
Int32

The column of the cursor position; optional.

_Column
Int32

The column of the cursor position; optional.

Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Applies to