Click to return to the Reusing Browser Technology home page    
IHTMLDOMNode::removeNode ...     IHTMLDOMNode::swapNode Me...     IHTMLDOMNode Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDOMNode::replaceNode Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.