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