System.Xml.XPath.XPathNodeIterator.Enumerator.MoveNext C# (CSharp) Method

MoveNext() public method

public MoveNext ( ) : bool
return bool
            public virtual bool MoveNext() {
                // Delegate to XPathNodeIterator
                if (!this.iterationStarted) {
                    // Reset iteration to original position
                    this.current = this.original.Clone();
                    this.iterationStarted = true;
                }

                if (this.current == null || !this.current.MoveNext()) {
                    // Iteration complete
                    this.current = null;
                    return false;
                }
                return true;
            }
XPathNodeIterator.Enumerator