XPathNodeIterator.Clone Method

Definition

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

XPathNodeIterator

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.

Applies to

See also