XPathNavigator.MoveTo(XPathNavigator) Méthode

Définition

En cas de substitution dans une classe dérivée, déplace la XPathNavigator position à la même position que celle spécifiée XPathNavigator.

public:
 abstract bool MoveTo(System::Xml::XPath::XPathNavigator ^ other);
public abstract bool MoveTo(System.Xml.XPath.XPathNavigator other);
abstract member MoveTo : System.Xml.XPath.XPathNavigator -> bool
Public MustOverride Function MoveTo (other As XPathNavigator) As Boolean

Paramètres

other
XPathNavigator

Positionné XPathNavigator sur le nœud vers lequel vous souhaitez vous déplacer.

Retours

true si l’opération XPathNavigator réussit à atteindre la même position que celle spécifiée XPathNavigator; sinon, false. Si false, la position du fichier XPathNavigator n’est pas modifiée.

Remarques

Cette méthode retourne true toujours si le XPathNavigator spécifié est un XPathNavigator partage de la même implémentation et pointe au même niveau d’instance de document que l’instance actuelle XPathNavigator.

Cette méthode retourne false toujours si le XPathNavigator spécifié est un XPathNavigator qui a une implémentation différente de celle actuelle XPathNavigator.

S’applique à