Export (0) Print
Expand All

XmlNavigatorFilter.MoveToNextContent Method

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

Repositions the navigator to the next 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.

Namespace:  System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)

public abstract bool MoveToNextContent(
	XPathNavigator navigator
)

Parameters

navigator
Type: System.Xml.XPath.XPathNavigator

An instance of the XPathNavigator class.

Return Value

Type: System.Boolean
true if the navigator is repositioned on the next element child with a matching name, otherwise false.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft