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.3.3.0 (8.3.3.20240926)
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