TreeNode.AOTLayers Method [AX 2012]

Returns a collection of the layers the tree node is defined in.

public Set AOTLayers([boolean old])

Run On

Called

Parameters

old
Type: boolean
A Boolean value that indicates whether to return the layers of the tree node definitions from the old model store; optional.

Return Value

Type: Set Class
A Set object with the layers.

This method throws an exception if the method is not supported for the tree node. Use the TreeNode.TreeNodeType().isLayerAware() method to determine if the method is supported.

Community Additions

ADD
Show: