MoveToPrevious Method

Html Agility Pack

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

Return Value

true if the navigator is successful moving to the previous sibling node, false if there is no previous sibling or if the navigator is currently positioned on an attribute node.

See Also