IsSamePosition Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Determines whether the current HtmlNavigator is at 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 IsSamePosition(
	XPathNavigator other
)
Visual Basic
Public Overrides Function IsSamePosition ( _
	other As XPathNavigator _
) As Boolean
Visual C++
public:
virtual bool IsSamePosition(
	XPathNavigator^ other
) override

Parameters

other
Type: System.Xml.XPath..::..XPathNavigator
The HtmlNavigator that you want to compare against.

Return Value

true if the two navigators have the same position, otherwise, false.

See Also