System.Xml.XPath.XPathNavigator.MoveToNext Method

Moves the System.Xml.XPath.XPathNavigator to the next sibling node with the local name and namespace URI specified.

Syntax

public virtual bool MoveToNext (string localName, string namespaceURI)

Parameters

localName
The local name of the next sibling node to move to.
namespaceURI
The namespace URI of the next sibling node to move to.

Returns

Returns true if the System.Xml.XPath.XPathNavigator is successful moving to the next sibling node; false if there are no more siblings, or if the System.Xml.XPath.XPathNavigator is currently positioned on an attribute node. If false, the position of the System.Xml.XPath.XPathNavigator is unchanged.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0