MoveTo()

XPathNavigator::MoveTo(SharedPtr<XPathNavigator>) method

When overridden in a derived class, moves the XPathNavigator to the same position as the specified XPathNavigator.

virtual bool System::Xml::XPath::XPathNavigator::MoveTo(SharedPtr<XPathNavigator> other)=0

Arguments

ParameterTypeDescription
otherSharedPtr<XPathNavigator>The XPathNavigator positioned on the node that you want to move to.

Return Value

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.

See Also