Moves to the same position as the specified XmlNavigator.
[Visual Basic] MustOverride Public Function MoveTo( _ ByVal other As XmlNavigator _ ) As Boolean [C#] public abstract bool MoveTo( XmlNavigator other ); [C++] public: virtual bool MoveTo( XmlNavigator* other ) = 0; [JScript] public abstract function MoveTo( other : XmlNavigator ) : Boolean;
Throws an exception if the two XmlNavigator objects are incompatible.
The XmlNavigator is in the 'null' state when it temporarily points to no node. You can get out of this state by using MoveTo(XmlNavigator) or MoveToDocument. You can find out that you are in the Null state because NodeType returns 0.
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace