swapNode method

[This documentation is preliminary and is subject to change.]

Exchanges the location of two objects in the document hierarchy.

Syntax

IHTMLDOMNode retVal = object.swapNode(otherNode);

Standards information

There are no standards that apply here.

Parameters

  • otherNode [in]
    Type: IHTMLDOMNode

    A pointer to aIDispatch that specifies the existing element.

Remarks

This method is accessible at run time. If elements are removed at run time, before the closing tag is parsed, areas of the document might not render.

See also

Reference

IHTMLDOMNode::cloneNode

IHTMLDOMNode::removeNode

IHTMLDOMNode::replaceNode

Conceptual

About the W3C Document Object Model

 

 

Build date: 6/12/2012