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

TDOMNode_WithChildren.ReplaceChild

Replaces a child DOM node with another DOM node.

Declaration

Source position: laz2_dom.pas line 329

public function TDOMNode_WithChildren.ReplaceChild(

  NewChild: TDOMNode;

  OldChild: TDOMNode

):TDOMNode; override;

Arguments

NewChild

  

New DOM node to store in the sub-tree.

OldChild

  

Old DOM node replaced in the method.

Function result

DOM node in OldChild after it has been detached from the node sub-tree.

See also

TDOMNode_WithChildren.DetachChild

  

Detached the specified DOM node from the sub-tree.

TDOMNode_WithChildren.InsertBefore

  

Inserts a new child node immediately before the reference child node.

TDOMNode.RemoveChild

  

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


Version 3.2 Generated 2024-02-25 Home