Mono Class Library: System.Xml.XPath.XPathNodeIterator Overview | Members

System.Xml.XPath.XPathNodeIterator.MoveNext Method

Moves to the next node.

public abstract bool MoveNext ()

Returns

True if it could iterate to the next node; False if it didn't have more nodes to be iterated.

Remarks

To start iteration, first this method must be called to get current node represented by XPathNodeIterator.Current property.

Unlike XPathNavigator, this class does not have such methods like MovePrevious or something. XPathNodeIterator is not designed to hold all the nodes in the class itself and thus this class saves heavy memory usage.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0