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

IHTMLDOMNode::appendChild Method


Replaces a node's current node with the new node.

Syntax

HRESULT appendChild(
    IHTMLDOMNode *newchild, 
    IHTMLDOMNode **node 
);

Parameters

newchild
Address of an IHTMLDOMNode interface that specifies the child node to be added.
node
Address of a pointer to an IHTMLDOMNode interface that specifies the node to add the child.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.