Mono Class Library: System.Xml.XPath.XPathNavigator Overview | Members

System.Xml.XPath.XPathNavigator.MoveTo Method

Moves the current node of this instance to the current node of the argument navigator.

public abstract bool MoveTo (XPathNavigator other)

Parameters

other
An System.Xml.XPath.XPathNavigator that positions the target node.

Returns

True if it successfully moved the current node; Otherwise False.

Remarks

This method will fail to move the current node when the both navigator were not created from the same System.Xml.XPath.IXPathNavigable instance.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0