PCComponentTree::newFromTreeComponent Method [AX 2012]

Construct a PCComponentTree instance from a form tree control and a component context that will be the root of the tree.

client server public static PCComponentTree newFromTreeComponent(FormTreeControl _tree, PCClass _componentContext)

Run On

Called

Parameters

_tree
Type: FormTreeControl Class
The form tree control.
_componentContext
Type: PCClass Table
The component context that will be the root of the tree.

Return Value

Type: PCComponentTree Class
A PCComponentTree instance.
Show: