TDOMComment.CloneNode function
Makes copy of the DOM Comment node.
Declaration
function CloneNode(deep: Boolean; ACloneOwner: TDOMDocument): TDOMNode
; override; overloadArguments
deep | True if child nodes are recursively copied in the method. |
ACloneOwner | DOM Document used to created the new DOM Comment node. |
Function result
DOM node created in the method.
Description
CloneNode is a
TDOMNode function used to create a copy
or clone of the current DOM Comment node using the specified DOM Document as
the owner of the new node. CloneNode calls the
CreateComment
method in the
ACloneOwner argument to allocate and create the new
TDOMComment instance, and store the character data in its Data
property.
The value for the deep argument is not significant in the method;
it is not used to clone a comment node.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
