A Sandcastle Documented Class Library |
HtmlNode..::..CopyFrom Method (HtmlNode, Boolean) |
HtmlNode Class See Also Send Feedback |
Creates a duplicate of the node.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public void CopyFrom( HtmlNode node, bool deep ) |
Visual Basic |
---|
Public Sub CopyFrom ( _ node As HtmlNode, _ deep As Boolean _ ) |
Visual C++ |
---|
public: void CopyFrom( HtmlNode^ node, bool deep ) |
Parameters
- node
- Type: HtmlAgilityPack..::..HtmlNode
The node to duplicate. 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.