System::Xml::XPath::XPathNavigator::MoveToNext method

XPathNavigator::MoveToNext() method

When overridden in a derived class, moves the XPathNavigator to the next sibling node of the current node.

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.

See Also

XPathNavigator::MoveToNext(String, String) method

Moves the XPathNavigator to the next sibling node with the local name and namespace URI specified.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the next sibling node to move to.
namespaceURIStringThe namespace URI of the next sibling node to move to.

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.

See Also

XPathNavigator::MoveToNext(XPathNodeType) method

Moves the XPathNavigator to the next sibling node of the current node that matches the XPathNodeType specified.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(XPathNodeType type)
ParameterTypeDescription
typeXPathNodeTypeThe XPathNodeType of the sibling node to move to.

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.

See Also