XPathNodeIterator.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns a clone of this XPathNodeIterator object.
public:
abstract System::Xml::XPath::XPathNodeIterator ^ Clone();
public abstract System.Xml.XPath.XPathNodeIterator Clone ();
abstract member Clone : unit -> System.Xml.XPath.XPathNodeIterator
Public MustOverride Function Clone () As XPathNodeIterator
Returns
A new XPathNodeIterator object clone of this XPathNodeIterator object.
Remarks
The cloned XPathNodeIterator object is positioned at the same node in the node set if calls have been made to the MoveNext method. The cloned XPathNodeIterator object is not affected by subsequent changes to this XPathNodeIterator object.