Deprecated Replace the nth child of the parent node with the new child node.
The nth value is passed in the index parameter. This function ensures that the DOM tree is aware of the new pNewChild node.
- Parameters
-
pParent | [ in ] Node to modify an existing child node. |
index | [ in ] A parent's children have indexes from {0 .. getNumChildren()}. |
pNewChild | [ in ] a new decendent of the parent node parameter. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eTooBig | index is larger than number of children of parent node. |
P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eBusy | Can only replace a node that is only in the tree and not used elsewhere. |