System::Xml::XPath::XPathNodeIterator class

XPathNodeIterator class

Provides an iterator over a selected set of nodes.

class XPathNodeIterator : public System::Collections::Generic::IEnumerable<SharedPtr<System::Xml::XPath::XPathNavigator>>

Methods

MethodDescription
virtual Clone()When overridden in a derived class, returns a clone of this XPathNodeIterator object.
virtual get_Count()Returns the index of the last node in the selected set of nodes.
virtual get_Current()When overridden in a derived class, gets the XPathNavigator object for this XPathNodeIterator, positioned on the current context node.
virtual get_CurrentPosition()When overridden in a derived class, gets the index of the current position in the selected set of nodes.
GetEnumerator() overrideReturns an IEnumerator object to iterate through the selected node set.
virtual MoveNext()When overridden in a derived class, moves the XPathNavigator object returned by the XPathNodeIterator::get_Current method to the next node in the selected node set.
XPathNodeIterator()Initializes a new instance of the XPathNodeIterator class.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

See Also