PrintMgmtNodeInstance.getLeaf Method [AX 2012]

Retrieves the leaf node of this node.

public PrintMgmtNodeInstance getLeaf()

Run On

Called

Return Value

Type: PrintMgmtNodeInstance Class
The leaf node of this node.

ExceptionCondition
Error

The node cannot have more than one child node.

This method examines all child nodes to determine the leaf node. The leaf node has no children of its own. One requirement of this method is that the node to evaluate must not have more than one child at any level in the hierarchy. If multiple children are found, an exception will be caused.

Community Additions

ADD
Show: