Navigator. Move ToRoot Method
Moves the XPathNavigator to the root node that the current node belongs to.
public: abstract void MoveToRoot();
public abstract void MoveToRoot ();
abstract member MoveToRoot : unit -> unit
Public MustOverride Sub MoveToRoot ()
All nodes belong to one and only one document. Therefore, this method is always successful.