System::Xml::XPath::XPathNavigator::MoveToNext‑metod

XPathNavigator::MoveToNext() method

När den åsidosätts i en avledd klass flyttar den XPathNavigator till nästa syskonnod till den aktuella noden.

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.

Se även

XPathNavigator::MoveToNext(String, String) method

Flyttar XPathNavigator till nästa syskonnod med det angivna lokala namnet och namnrymdens URI.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(String localName, String namespaceURI)
ParameterTypeBeskrivning
localNameStringDet lokala namnet på nästa syskonnod att flytta till.
namespaceURIStringNamnutrymmes-URI:n för nästa syskonnod att flytta till.

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.

Se även

XPathNavigator::MoveToNext(XPathNodeType) method

Flyttar XPathNavigator till nästa syskonnod till den aktuella noden som matchar den angivna XPathNodeType.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNext(XPathNodeType type)
ParameterTypeBeskrivning
typeXPathNodeTypeXPathNodeType-typen för syskonnoden att flytta till.

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.

Se även