Replaces a node's current child with the new child node.
Syntax
HRESULT replaceNode( IHTMLDOMNode *replacement, IHTMLDOMNode *replaced );
Parameters
- replacement
- Address of an IHTMLDOMNode interface that specifies the child to be added.
- replaced
- Address of an IHTMLDOMNode interface that specifies the child to be removed.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
cloneNode, removeNode, swapNode