MoveToFirstChild Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Moves to the first child of the current node.

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

Syntax

C#
public override bool MoveToFirstChild()
Visual Basic
Public Overrides Function MoveToFirstChild As Boolean
Visual C++
public:
virtual bool MoveToFirstChild() override

Return Value

true if there is a first child node, otherwise false.

See Also