System::Xml::XPath::XPathNavigator::MoveToNext метод

XPathNavigator::MoveToNext() method

При переопределении в производном классе перемещает XPathNavigator к следующему узлу‑соседу текущего узла.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext()=0

ReturnValue

true if the XPathNavigator is successful moving to the next sibling node; otherwise false if there are no more siblings or if the XPathNavigator is currently positioned on an attribute node. If false, the position of the XPathNavigator is unchanged.

См. также

XPathNavigator::MoveToNext(String, String) method

Перемещает XPathNavigator к следующему узлу‑соседу с указанным локальным именем и URI пространства имён.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(String localName, String namespaceURI)
ПараметрТипОписание
localNameStringЛокальное имя следующего узла‑соседа, к которому следует переместиться.
namespaceURIStringURI пространства имён следующего узла‑соседа, к которому следует переместиться.

ReturnValue

true if the XPathNavigator is successful moving to the next sibling node; false if there are no more siblings, or if the XPathNavigator is currently positioned on an attribute node. If false, the position of the XPathNavigator is unchanged.

См. также

XPathNavigator::MoveToNext(XPathNodeType) method

Перемещает XPathNavigator к следующему узлу‑соседу текущего узла, соответствующему указанному XPathNodeType.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(XPathNodeType type)
ПараметрТипОписание
typeXPathNodeTypeXPathNodeType узла‑соседа, к которому следует переместиться.

ReturnValue

true if the XPathNavigator is successful moving to the next sibling node; otherwise, false if there are no more siblings or if the XPathNavigator is currently positioned on an attribute node. If false, the position of the XPathNavigator is unchanged.

См. также