importNode method

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

Imports a node from another document into the the document that the document object displays.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

Syntax

HRESULT retVal = object.importNode(pNodeSource, fDeep, );

Standards information

Parameters

pNodeSource [in]

Type: IHTMLDOMNode

A reference to the IHTMLDOMNode interface that refers to the node to move.

fDeep [in]

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Child nodes of the node specified by the pNodeSourceparameter are also imported.

VARIANT_FALSE (true)

Child nodes of the node specified by the pNodeSourceparameter are not imported.

ppNodeDest [out, retval]

Type: IHTMLDOMNode3

A reference to the IHTMLDOMNode3 interface that refers to the node that has been imported, or a NULL value if the node cannot be imported.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

 

 

 

Build date: 1/26/2012