MoveToFirst Method

Html Agility Pack

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

Return Value

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

See Also