[This is preliminary documentation and is subject to change.]

Moves the XPathObjectNavigator to the parent node of the current node.

Namespace: Tools.XmlT.XPathT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public override bool MoveToParent()
Visual Basic
Public Overrides Function MoveToParent As Boolean
Visual C++
public:
virtual bool MoveToParent() override
F#
abstract MoveToParent : unit -> bool 
override MoveToParent : unit -> bool 
JScript
public override function MoveToParent() : boolean

Return Value

Returns true if the XPathObjectNavigator is successful moving to the parent node of the current node; otherwise, false. If false, the position of the XPathObjectNavigator is unchanged.

Remarks

Works for all type of steps expect XPathObjectNavigator..::..RootStep. Removes current spet, so parent of current step becomes current step.

See Also