PCRuntimeComponentTree::newFromTreeComponent Method [AX 2012]

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

client server public static PCRuntimeComponentTree newFromTreeComponent(FormTreeControl _tree, PCRuntimeComponent _componentContext)

Run On

Called

Parameters

_tree
Type: FormTreeControl Class
The form tree control.
_componentContext
Type: PCRuntimeComponent Class
The component context.

Return Value

Type: PCRuntimeComponentTree Class
A PCRuntimeComponentTree instance.
Show: