System.Xml.XPath.XPathNavigator.MoveToFollowing Method

Moves the System.Xml.XPath.XPathNavigator to the element with the local name and namespace URI specified in document order.

Syntax

public virtual bool MoveToFollowing (string localName, string namespaceURI)

Parameters

localName
The local name of the element.
namespaceURI
The namespace URI of the element.

Returns

true if the System.Xml.XPath.XPathNavigator moved successfully; otherwise false.

Remarks

If the XPathNavigator.MoveToFollowing(string, string) method returns false, the position of the System.Xml.XPath.XPathNavigator is unchanged.

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