







|
| A Sandcastle Documented Class Library |
| HtmlNode..::..CloneNode Method (String) |
| HtmlNode Class See Also Send Feedback |
Creates a duplicate of the node and changes its name at the same time.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# |
|---|
public HtmlNode CloneNode( string newName ) |
| Visual Basic |
|---|
Public Function CloneNode ( _ newName As String _ ) As HtmlNode |
| Visual C++ |
|---|
public: HtmlNode^ CloneNode( String^ newName ) |
Parameters
- newName
- Type: System..::..String
The new name of the cloned node. May not be null.
