The `Clone` method in the `System.Xml.XPath.XPathNodeIterator` class is used to create a copy of the current `XPathNodeIterator` object. This allows you to iterate over the same collection of nodes independently, without modifying the original iterator. The cloned iterator will have the same position and state as the original iterator when it was cloned. This method comes in handy when you need to iterate over the same set of nodes in multiple places within your code without affecting the original iterator's position or state.
C# (CSharp) System.Xml.XPath XPathNodeIterator.Clone - 18 examples found. These are the top rated real world C# (CSharp) examples of System.Xml.XPath.XPathNodeIterator.Clone extracted from open source projects. You can rate examples to help us improve the quality of examples.