[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNode.RemoveChild

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

Declaration

Source position: laz2_dom.pas line 282

public function TDOMNode.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

TDOMNode.ChildNodes

  

Provides access to the list of Child nodes for the current node.

TDOMNode.DetachChild

  

Detaches the specified child node from the DOM sub-tree for the node.


Version 3.2 Generated 2024-02-25 Home