AppendChild Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Adds the specified node to the end of the list of children of this node.

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

Syntax

C#
public HtmlNode AppendChild(
	HtmlNode newChild
)
Visual Basic
Public Function AppendChild ( _
	newChild As HtmlNode _
) As HtmlNode
Visual C++
public:
HtmlNode^ AppendChild(
	HtmlNode^ newChild
)

Parameters

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

Return Value

The node added.

See Also