Share via


SysTreeNode::getLayer Method [AX 2012]

Gets a layer of a specified tree node.

Syntax

client server public static UtilEntryLevel getLayer(TreeNode _treeNode)

Run On

Called

Parameters

  • _treeNode
    Type: TreeNode Class
    The tree node of which to find a layer.

Return Value

Type: UtilEntryLevel Enumeration
A layer of the tree node.

Exceptions

Exception Condition
Error

No layer was found.

Remarks

If the tree node is not layer aware, the parents of the node will be visited to find the layer of the node.

See Also

Reference

SysTreeNode Class