PCComponentTreeWithAttributes::newFromTreeComponent Method [AX 2012]

Constructs a PCComponentTreeWithAttributes object from a form tree control and a component context which will be the root of the tree.

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

Run On

Called

Parameters

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

Return Value

Type: PCComponentTreeWithAttributes Class
A PCComponentTree instance.
Show: