Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Replaces a node's current child with the new child node.
Syntax
HRESULT replaceChild( IHTMLDOMNode * newChild IHTMLDOMNode * oldChild );
Parameters
- newChild
- Address of an IHTMLDOMNode interface that specifies the child to be added.
- oldChild
- Address of an IHTMLDOMNode interface that specifies the child to be removed.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
get_childNodes, insertBefore, removeChild
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.