Moves the System.Xml.XPath.XPathNavigator to the element with the local name and namespace URI specified, to the boundary specified, in document order.
- localName
- The local name of the element.
- namespaceURI
- The namespace URI of the element.
- end
- The System.Xml.XPath.XPathNavigator object positioned on the element boundary which the current System.Xml.XPath.XPathNavigator will not move past while searching for the following element.
true if the System.Xml.XPath.XPathNavigator moved successfully; otherwise false.
If the System.Xml.XPath.XPathNavigator boundary passed as a parameter is not positioned after the position of the current System.Xml.XPath.XPathNavigator it is ignored.
If the System.Xml.XPath.XPathNavigator boundary parameter is null, the following element with the local name and namespace URI specified is located in document order.
The erload:System.Xml.XPath.XPathNavigator.MoveToFollowing methods cannot be used to move to attribute or namespace nodes. If the System.Xml.XPath.XPathNavigator boundary passed as a parameter is positioned over an attribute or namespace node, it is equivalent to the System.Xml.XPath.XPathNavigator boundary parameter having been positioned on the first child node of its parent element. This ensures that the parent element of the attribute or namespace node that the System.Xml.XPath.XPathNavigator boundary parameter is positioned on can be matched by this method.
If the XPathNavigator.MoveToFollowing(string, string, XPathNavigator) method returns false, the position of the System.Xml.XPath.XPathNavigator is unchanged.