MoveToParent Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Moves to the parent 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 MoveToParent()
Visual Basic
Public Overrides Function MoveToParent As Boolean
Visual C++
public:
virtual bool MoveToParent() override

Return Value

true if there is a parent node, otherwise false.

See Also