Click or drag to resize

HtmlNodeCloneNode Method (String)

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
)

Parameters

newName
Type: SystemString
The new name of the cloned node. May not be null.

Return Value

Type: HtmlNode
The cloned node.
See Also