MoveToNext Method

Html Agility Pack

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

Return Value

true if the navigator is successful moving to the next sibling node, false if there are no more siblings or if the navigator is currently positioned on an attribute node. If false, the position of the navigator is unchanged.

See Also