Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Xml.​XPath.​XPathNodeIterator
Assembly: System.Xml.ReaderWriter
Inheritance: object → XPathNodeIterator
Implemented Interfaces
Provides an iterator over a selected set of nodes.
Properties
public
int
Count
Gets the index of the last node in the selected set of nodes.
public
XPathNavigator
Current
When overridden in a derived class, gets the <see cref="T:System.Xml.XPath.XPathNavigator" /> object for this <see cref="T:System.Xml.XPath.XPathNodeIterator" /> , positioned on the current context node.
public
int
CurrentPosition
When overridden in a derived class, gets the index of the current position in the selected set of nodes.
Methods
public
XPathNodeIterator
Clone​()
When overridden in a derived class, returns a clone of this <see cref="T:System.Xml.XPath.XPathNodeIterator" /> object.
Returns A new <see cref="T:System.Xml.XPath.XPathNodeIterator" /> object clone of this <see cref="T:System.Xml.XPath.XPathNodeIterator" /> object.
GetEnumerator​()
Returns an <see cref="T:System.Collections.IEnumerator" /> object to iterate through the selected node set.
Returns An <see cref="T:System.Collections.IEnumerator" /> object to iterate through the selected node set.
public
bool
MoveNext​()
When overridden in a derived class, moves the <see cref="T:System.Xml.XPath.XPathNavigator" /> object returned by the <see cref="P:System.Xml.XPath.XPathNodeIterator.Current" /> property to the next node in the selected node set.
Returns <see langword="true" /> if the <see cref="T:System.Xml.XPath.XPathNavigator" /> object moved to the next node; <see langword="false" /> if there are no more selected nodes.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object