MoveToRoot Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Moves to the root node to which the current node belongs.

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

Syntax

C#
public override void MoveToRoot()
Visual Basic
Public Overrides Sub MoveToRoot
Visual C++
public:
virtual void MoveToRoot() override

See Also