XPathNavigator.MoveToPrevious Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, moves the XPathNavigator to the previous sibling node of the current node.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public abstract bool MoveToPrevious()

Return Value

Type: System.Boolean

Returns true if the XPathNavigator is successful moving to the previous sibling node; otherwise, false if there is no previous sibling node or if the XPathNavigator is currently positioned on an attribute node. If false, the position of the XPathNavigator is unchanged.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: