HtmlNodeCloneNode Method (String, Boolean) |
Creates a duplicate of the node and changes its name at the same time.
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.0.6.0 (8.0.6.20210916)
Syntax public HtmlNode CloneNode(
string newName,
bool deep
)
Public Function CloneNode (
newName As String,
deep As Boolean
) As HtmlNode
Parameters
- newName
- Type: SystemString
The new name of the cloned node. May not be null. - deep
- Type: SystemBoolean
true to recursively clone the subtree under the specified node; false to clone only the node itself.
Return Value
Type:
HtmlNodeThe cloned node.
See Also