Clone Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Creates a new HtmlNavigator positioned at the same node as this HtmlNavigator.

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

Syntax

C#
public override XPathNavigator Clone()
Visual Basic
Public Overrides Function Clone As XPathNavigator
Visual C++
public:
virtual XPathNavigator^ Clone() override

Return Value

A new HtmlNavigator object positioned at the same node as the original HtmlNavigator.

See Also