NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DocumentNavigator.MoveTo

Moves to the same position as the specified XmlNavigator.

[Visual Basic]
Overrides Public Function MoveTo( _
   ByVal other As XmlNavigator _
) As Boolean
[C#]
public override bool MoveTo(
   XmlNavigator other
);
[C++]
public: override bool MoveTo(
   XmlNavigator* other
);
[JScript]
public override function MoveTo(
   other : XmlNavigator
) : Boolean;

Parameters

other
XmlNavigator with the position you want to move this XmlNavigator to.

Return Value

TBD. Throws an exception if the two XmlNavigator objects are incompatible.

Remarks

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.

See Also

DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace