Moves to the document node that owns this node.
[Visual Basic] MustOverride Public Sub MoveToDocument() [C#] public abstract void MoveToDocument(); [C++] public: virtual void MoveToDocument() = 0; [JScript] public abstract function MoveToDocument();
All nodes belong to one and only one document; therefore, this method is guaranteed to succeed.
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace