Jaa


xInfo.getNode Method

Definition

Overloads

getNode(UtilElementType, String)

Retrieves a tree node that corresponds to a node in the AOT.

getNode(UtilElementType, String, Int32)
getNode(UtilElementType, String, Int32, Int32)
getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel)
getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean)
getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean, Int32)
getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean, Int32, Boolean)

getNode(UtilElementType, String)

Retrieves a tree node that corresponds to a node in the AOT.

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String) As TreeNode

Parameters

text1
String

Returns

The tree node that is specified by the UtilType and Name parameters.

Remarks

The node returned is not linked into the AOT, so you cannot perform operations on the node. To perform operations on a node, use the findNode or rootNode method instead. The default value for the UtilLevel parameter is the current layer. The possible values for the Mode parameter are:

  • 0x001: Load for run
  • 0x002: Load for edit

The default value of the ForceLevel parameter is false. If it is set to false, and there is no content in the layer specified, the node will be taken from the next layer below this that does have content. If it is set to true, and there is no content in the layer, the method will return nullNothingnullptrunita null reference (Nothing in Visual Basic).

Applies to

getNode(UtilElementType, String, Int32)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1, int num1);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1, int num1);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String, num1 As Integer) As TreeNode

Parameters

text1
String
num1
Int32

Returns

Applies to

getNode(UtilElementType, String, Int32, Int32)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1, int num1, int num2);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1, int num1, int num2);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int * int -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int * int -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String, num1 As Integer, num2 As Integer) As TreeNode

Parameters

text1
String
num1
Int32
num2
Int32

Returns

Applies to

getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1, int num1, int num2, Dynamics::AX::Application::UtilEntryLevel level1);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1, int num1, int num2, Dynamics.AX.Application.UtilEntryLevel level1);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String, num1 As Integer, num2 As Integer, level1 As UtilEntryLevel) As TreeNode

Parameters

text1
String
num1
Int32
num2
Int32

Returns

Applies to

getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1, int num1, int num2, Dynamics::AX::Application::UtilEntryLevel level1, bool flag1);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1, int num1, int num2, Dynamics.AX.Application.UtilEntryLevel level1, bool flag1);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String, num1 As Integer, num2 As Integer, level1 As UtilEntryLevel, flag1 As Boolean) As TreeNode

Parameters

text1
String
num1
Int32
num2
Int32
flag1
Boolean

Returns

Applies to

getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean, Int32)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType type1, System::String ^ text1, int num1, int num2, Dynamics::AX::Application::UtilEntryLevel level1, bool flag1, int num3);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType type1, string text1, int num1, int num2, Dynamics.AX.Application.UtilEntryLevel level1, bool flag1, int num3);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool * int -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool * int -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (type1 As UtilElementType, text1 As String, num1 As Integer, num2 As Integer, level1 As UtilEntryLevel, flag1 As Boolean, num3 As Integer) As TreeNode

Parameters

text1
String
num1
Int32
num2
Int32
flag1
Boolean
num3
Int32

Returns

Applies to

getNode(UtilElementType, String, Int32, Int32, UtilEntryLevel, Boolean, Int32, Boolean)

public:
 virtual Dynamics::AX::Application::TreeNode ^ getNode(Dynamics::AX::Application::UtilElementType _UtilType, System::String ^ _Name, int _ParentId, int _Type, Dynamics::AX::Application::UtilEntryLevel _Utillevel, bool _Forcelevel, int _Mode, bool _OldUtil);
public virtual Dynamics.AX.Application.TreeNode getNode (Dynamics.AX.Application.UtilElementType _UtilType, string _Name, int _ParentId, int _Type, Dynamics.AX.Application.UtilEntryLevel _Utillevel, bool _Forcelevel, int _Mode, bool _OldUtil);
abstract member getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool * int * bool -> Dynamics.AX.Application.TreeNode
override this.getNode : Dynamics.AX.Application.UtilElementType * string * int * int * Dynamics.AX.Application.UtilEntryLevel * bool * int * bool -> Dynamics.AX.Application.TreeNode
Public Overridable Function getNode (_UtilType As UtilElementType, _Name As String, _ParentId As Integer, _Type As Integer, _Utillevel As UtilEntryLevel, _Forcelevel As Boolean, _Mode As Integer, _OldUtil As Boolean) As TreeNode

Parameters

_UtilType
UtilElementType

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_Name
String

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_ParentId
Int32

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_Type
Int32

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_Utillevel
UtilEntryLevel

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_Forcelevel
Boolean

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_Mode
Int32

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

_OldUtil
Boolean

A Boolean value that indicates whether to take the node from the old AOT in the old AOT folder.

Returns

Applies to