XmlNavigatorFilter.MoveToContent(XPathNavigator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
abstract bool MoveToContent(System::Xml::XPath::XPathNavigator ^ navigator);
public abstract bool MoveToContent (System.Xml.XPath.XPathNavigator navigator);
abstract member MoveToContent : System.Xml.XPath.XPathNavigator -> bool
Public MustOverride Function MoveToContent (navigator As XPathNavigator) As Boolean
Parameters
- navigator
- XPathNavigator
An instance of the XPathNavigator class.
Returns
true
if the navigator is repositioned on a child 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應