| HtmlNodeCloneNode Method (String, Boolean) | 
            Creates a duplicate of the node and changes its name at the same time.
            
 
Namespace: WorkflowGen.My.HtmlAgilityPackAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 3.3.0.0 (3.3.0.0)
Syntaxpublic 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