importNode method
Imports a node from another document into the the document that the document object displays.
![]() ![]() |
Syntax
HRESULT retVal = object.importNode(pNodeSource, fDeep, ppNodeDest);
Parameters
- pNodeSource [in]
-
Type: IHTMLDOMNode
A reference to the IHTMLDOMNode interface that refers to the node to move.
- fDeep [in]
-
Type: VARIANT_BOOL
- 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 |
|---|---|
|
The operation completed successfully. |
Standards information
Show:

