removeNode
Collapse the table of content
Expand the table of content

removeNode method

Removes the object from the document hierarchy.

Syntax


IHTMLDOMNode retVal = object.removeNode(fDeep);

Parameters

fDeep [in, optional]

Type: VARIANT_BOOL

A VARIANT_BOOL that specifies one of the following values.

VARIANT_FALSE (false)

Default. childNodes collection of the object is not removed.

VARIANT_TRUE (true)

childNodes collection of the object is removed.

Standards information

There are no standards that apply here.

Remarks

This property 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::appendChild
IHTMLDOMNode::cloneNode
IHTMLDOMNode::insertBefore
Conceptual
About the W3C Document Object Model

 

 

Show:
© 2016 Microsoft