XPathNavigator.MoveTo(XPathNavigator) XPathNavigator.MoveTo(XPathNavigator) XPathNavigator.MoveTo(XPathNavigator) XPathNavigator.MoveTo(XPathNavigator) Method

定義

派生クラスでオーバーライドされると、XPathNavigator を、指定された XPathNavigator と同じ位置に移動します。When overridden in a derived class, moves the XPathNavigator to the same position as the specified 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

パラメーター

other
XPathNavigator XPathNavigator XPathNavigator XPathNavigator

移動先のノードに配置される XPathNavigatorThe XPathNavigator positioned on the node that you want to move to.

戻り値

XPathNavigator が指定された XPathNavigator と同じ位置に正常に移動する場合は true。それ以外の場合は falsetrue if the XPathNavigator is successful moving to the same position as the specified XPathNavigator; otherwise, false. false の場合、XPathNavigator の位置は変更されません。If false, the position of the XPathNavigator is unchanged.

注釈

このメソッドは、 true XPathNavigator指定したがXPathNavigator 、同じ実装を共有し、現在XPathNavigatorのと同じドキュメントインスタンスでポイントしているである場合、常にを返します。This method always returns true if the XPathNavigator specified is an XPathNavigator that shares the same implementation and points at the same document instance as the current XPathNavigator.

指定したがfalse 、現在XPathNavigator XPathNavigatorのとはXPathNavigator異なる実装を持つの場合、このメソッドは常にを返します。This method always returns false if the XPathNavigator specified is an XPathNavigator that has a different implementation than the current XPathNavigator.

適用対象