Метод 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Локальное имя следующего узла‑соседа, к которому нужно переместиться.
namespaceURIStringThe URI пространства имён следующего узла‑соседа, к которому нужно перейти.

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.

См. также