System.Xml.XPath.XPathNodeIterator.Clone C# (CSharp) Method

Clone() public abstract method

public abstract Clone ( ) : XPathNodeIterator
return XPathNodeIterator
        public abstract XPathNodeIterator Clone();
        public abstract bool MoveNext();

Usage Example

Example #1
0
		/// <summary>
		/// Initializes the reader.
		/// </summary>
		/// <param name="iterator">The iterator to expose as a single reader.</param>
		/// <param name="rootName">The name to use for the enclosing root element.</param>
		/// <param name="ns">The namespace URI of the root element.</param>
		public XPathIteratorReader(XPathNodeIterator iterator, string rootName, string ns)
			: base(new StringReader(String.Empty))
		{
			_iterator = iterator.Clone();
			_current = new FakedRootReader(rootName, ns, XmlNodeType.Element);
			_rootname = new XmlQualifiedName(rootName, ns);
		}
All Usage Examples Of System.Xml.XPath.XPathNodeIterator::Clone