XmlNavigatorFilter::MoveToContent Method (XPathNavigator^)
.NET Framework (current version)
This API supports the product 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.
Assembly: System.Data.SqlXml (in System.Data.SqlXml.dll)
Parameters
- navigator
-
Type:
System.Xml.XPath::XPathNavigator^
An instance of the XPathNavigator class.
Return Value
Type: System::Booleantrue 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
Available since 2.0
Available since 2.0
Show: