Share via


removeChild Method

Removes the specified child node from the list of children and returns it.

var objXMLDOMNode = oXMLDOMNode.removeChild(childNode);

HRESULT removeChild(
  IXMLDOMNode* childNode,
  IXMLDOMNode** outOldChild
);

General Remarks

This method applies to the following objects and interfaces:

IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.