System.Xml.XPath.XPathNavigator.MoveToParent Method

When overridden in a derived class, moves the System.Xml.XPath.XPathNavigator to the parent node of the current node.

Syntax

public abstract bool MoveToParent ()

Returns

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.

Remarks

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0