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: 9.0.3.0 (9.0.3.20240719)
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