Xml.xmldom.IDOMNode.removeChild

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function removeChild(const childNode: IDOMNode): IDOMNode; safecall;

C++

virtual HRESULT __safecall removeChild(const _di_IDOMNode childNode, _di_IDOMNode &__removeChild_result) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Xml.Xmldom.pas
Xml.xmldom.hpp
Xml.xmldom IDOMNode

Description

Removes a child node from this node.

removeChild removes a specified child node from this node, and returns its interface. If this node is read-only, or if the specified child node is not a child of this node, removeChild raises an exception.

childNode the node to remove.

See Also