Share via


SysTreeNode::nodeInLayer Method [AX 2012]

Retrieves the specified tree node in the specified layer.

Syntax

client server public static TreeNode nodeInLayer(
    TreeNode _treeNode, 
    UtilEntryLevel _layer, 
   [boolean _forceLayer, 
    boolean _old])

Run On

Called

Parameters

  • _forceLayer
    Type: boolean
    A Boolean value that indicates that tree nodes from the provided layer are accepted.
  • _old
    Type: boolean
    A Boolean value that indicates whether a version of the tree node from the old model store is requested.

Return Value

Type: TreeNode Class
The tree node from the specified layer.

Remarks

If the requested tree node is the same version as the supplied tree node, it is returned so that the parent information is not lost.

See Also

Reference

SysTreeNode Class