Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.