Node.CloneNode

CloneNode()

Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. The duplicate node has no parent (parentNode is null) and no user data.

public Node CloneNode()

Return Value

Returns node

See Also


CloneNode(bool)

Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. The duplicate node has no parent (parentNode is null) and no user data.

public Node CloneNode(bool deep)
ParameterTypeDescription
deepBooleanif set to true [deep].

Return Value

Returns node

See Also