XPathNodeIterator.Clone Method ()

 

When overridden in a derived class, returns a clone of this XPathNodeIterator object.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public abstract XPathNodeIterator Clone()

Return Value

Type: System.Xml.XPath.XPathNodeIterator

A new XPathNodeIterator object clone of this XPathNodeIterator object.

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.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: