MoveTo Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Moves to the same position as the specified HtmlNavigator.

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

Syntax

C#
public override bool MoveTo(
	XPathNavigator other
)
Visual Basic
Public Overrides Function MoveTo ( _
	other As XPathNavigator _
) As Boolean
Visual C++
public:
virtual bool MoveTo(
	XPathNavigator^ other
) override

Parameters

other
Type: System.Xml.XPath..::..XPathNavigator
The HtmlNavigator positioned on the node that you want to move to.

Return Value

true if successful, otherwise false. If false, the position of the navigator is unchanged.

See Also