Sets the parent properties of the given node and all of its child nodes.
parent
The parent of node.
node
Sets the
parentproperties of the given node and all of its child nodes.