Sign in Join
FPDoc Onlineexperiment

TDOMNode.RemoveChild function

Member of TDOMNodepublicIn unit Laz2_DOM

Removes the specified child from the DOM sub-tree for this node.

Declaration

pascal
function RemoveChild(OldChild: TDOMNode): TDOMNode

Arguments

OldChild

DOM Node to locate in the DOM sub-tree.

Function result

Child Node removed in the method.

Description

RemoveChild is a TDOMNode function used to remove the node specified in OldChild from the ChildNodes sub-tree. RemoveChild calls the DetachChild method to detach the specified node from the OwnerDocument. The return value is the node in OldChild after it has been detached from the OwnerDocument and its internal node references have been updated.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.