Modifier

Partager via


XmlNavigatorFilter.MoveToFollowing(XPathNavigator, XPathNavigator) Method

Definition

Repositions the navigator to the following matching content node or attribute and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 abstract bool MoveToFollowing(System::Xml::XPath::XPathNavigator ^ navigator, System::Xml::XPath::XPathNavigator ^ navigatorEnd);
public abstract bool MoveToFollowing (System.Xml.XPath.XPathNavigator navigator, System.Xml.XPath.XPathNavigator navigatorEnd);
abstract member MoveToFollowing : System.Xml.XPath.XPathNavigator * System.Xml.XPath.XPathNavigator -> bool
Public MustOverride Function MoveToFollowing (navigator As XPathNavigator, navigatorEnd As XPathNavigator) As Boolean

Parameters

navigator
XPathNavigator

An instance of the XPathNavigator class that identifies the beginning of the range over which navigation can move.

navigatorEnd
XPathNavigator

An instance of the XPathNavigator class that identifies the end of the range over which navigation can move.

Returns

true if the navigator is repositioned on the next element with a matching name, otherwise, false.

Remarks

This is an abstract class and the filter, such as an element name, used to reposition the navigator is not defined by this class but by the class that derives from this class.

Applies to