CopyFrom Method (HtmlNode)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Creates a duplicate of the node and the subtree under it.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void CopyFrom(
	HtmlNode node
)
Visual Basic
Public Sub CopyFrom ( _
	node As HtmlNode _
)
Visual C++
public:
void CopyFrom(
	HtmlNode^ node
)

Parameters

node
Type: HtmlAgilityPack..::..HtmlNode
The node to duplicate. May not be null.

See Also