CreateNavigator Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Creates a new XPathNavigator object for navigating this HTML document.

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

Syntax

C#
public XPathNavigator CreateNavigator()
Visual Basic
Public Function CreateNavigator As XPathNavigator
Visual C++
public:
virtual XPathNavigator^ CreateNavigator() sealed

Return Value

An XPathNavigator object. The XPathNavigator is positioned on the root of the document.

Implements

IXPathNavigable..::..CreateNavigator()()()()

See Also