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.1.0.0 (9.1.0.20241025)
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