Click to return to the Reusing Browser Technology home page    
IHTMLDOMNode::appendChild...     IHTMLDOMNode::get_firstCh...     IHTMLDOMNode Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDOMNode::CloneNode Method


Creates a duplicate of a node.

Syntax

HRESULT CloneNode(
    VARIANT_BOOL fDeep,
    IHTMLDOMNode **clonedNode
);

Parameters

fDeep
VARIANT Boolean structure that specifies whether to clone only the node or to include all children too.
clonedNode
Address of a pointer to an IHTMLDOMNode interface that returns the newly created node.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

removeNode, replaceNode, 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.