[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Makes a copy of the DOM node.
Source position: laz2_dom.pas line 285
public function TDOMNode.CloneNode( |
deep: Boolean |
deep: Boolean; |
ACloneOwner: TDOMDocument |
):TDOMNode; virtual; overload; |
deep |
|
Indicates if child nodes are included in the cloned node. |
DOM node created in the method.
deep |
|
Indicates if child nodes are included in the cloned node. |
ACloneOwner |
|
DOM Document used to created the new DOM Node. |
CloneNode is an overloaded TDOMNode function used to make a new copy of the current node. Deep indicates that child nodes are included in the new TDOMNode instance when set to True. An overloaded variant allows the DOM Document which owns the new node to be specified.
CloneNode always raises an EDOMNotSupported exception in TDOMNode, and the return value is always Nil. It must be overridden in a descendent class to perform any actions needed for the DOM node specialization.
|
DOM Document that created the DOM node. |
|
|
Implements the DOM Document interface. |
|
|
Exception raised when the DOM implementation does not support the requested object type or operation. |
Version 3.2 | Generated 2024-02-25 | Home |