System::Xml::XPath::XPathNavigator::MoveTo‑metod

XPathNavigator::MoveTo method

När den åsidosätts i en avledd klass flyttar den XPathNavigator till samma position som den angivna XPathNavigator.

virtual bool System::Xml::XPath::XPathNavigator::MoveTo(SharedPtr<XPathNavigator> other)=0
ParameterTypeBeskrivning
otherSharedPtr<XPathNavigator>XPathNavigator som är placerad på den nod du vill flytta till.

ReturnValue

true if the XPathNavigator is successful moving to the same position as the specified XPathNavigator; otherwise, false. If false, the position of the XPathNavigator is unchanged.

Se även