Метод 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)
ПараметрТипОписание
typeXPathNodeTypeТип XPathNodeType узла‑сестры, к которому следует переместиться.

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.

См. также