Skip to main content

DOMComment.RemoveChild

RemoveChild

Syntax

RemoveChild(<Node>)

Parameters

<Node> (required)

Type: DOMAttribute, DOMDocument, DOMElement, DOMDocumentType, DOMNotation, DOMEntity, DOMDocumentFragment, DOMText, DOMComment, DOMCDATASection, DOMProcessingInstruction, DOMEntityReference, XPathNamespace. The removed DOM node.

Returned value

Type: DOMAttribute, DOMDocument, DOMElement, DOMDocumentType, DOMNotation, DOMEntity, DOMDocumentFragment, DOMText, DOMComment, DOMCDATASection, DOMProcessingInstruction, DOMEntityReference, XPathNamespace. The removed node.

Description

Removes a node from the child node list.

Availability

Server, thick client, external connection, mobile application (server), mobile standalone server.

Note

An exception is triggered:

  • if this node is read-only;
  • if the removed node cannot be found;
  • if the removed node is a child of the Document node, an exception is triggered;
  • if the implementation does not support deletion of DocumentType and Element nodes.

Translation

Русская версия: КомментарийDOM.УдалитьДочерний (DOMComment.RemoveChild)