When overridden in a derived class, moves the System.Xml.XPath.XPathNavigator to the parent node of the current node.
Returns true if the System.Xml.XPath.XPathNavigator is successful moving to the parent node of the current node; otherwise, false. If false, the position of the System.Xml.XPath.XPathNavigator is unchanged.
The return value of the XPathNavigator.MoveToParent method depends on the System.Xml.XPath.XPathNodeType of the current node, and the System.Xml.XPath.XPathNodeType of the parent node to move to.
The following table shows the different System.Xml.XPath.XPathNodeType nodes, and the parent nodes they can move to.