Export (0) Print
Expand All

XmlNavigatorFilter.MoveToContent Method

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

Repositions the navigator to the first 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 MoveToContent(
	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 a child element 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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft