







|
| A Sandcastle Documented Class Library |
| HtmlNode..::..CloneNode Method (String, Boolean) |
| 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, bool deep ) |
| Visual Basic |
|---|
Public Function CloneNode ( _ newName As String, _ deep As Boolean _ ) As HtmlNode |
| Visual C++ |
|---|
public: HtmlNode^ CloneNode( String^ newName, bool deep ) |
Parameters
- newName
- Type: System..::..String
The new name of the cloned node. May not be null.
- deep
- Type: System..::..Boolean
true to recursively clone the subtree under the specified node; false to clone only the node itself.
