XPathDocument.CreateNavigator 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.
Initializes a read-only XPathNavigator object for navigating through nodes in this XPathDocument.
public:
virtual System::Xml::XPath::XPathNavigator ^ CreateNavigator();
public System.Xml.XPath.XPathNavigator CreateNavigator ();
abstract member CreateNavigator : unit -> System.Xml.XPath.XPathNavigator
override this.CreateNavigator : unit -> System.Xml.XPath.XPathNavigator
Public Function CreateNavigator () As XPathNavigator
Returns
A read-only XPathNavigator object.
Implements
Remarks
The XPathNavigator is positioned on the root element of the XPathDocument. If there is no root element, the XPathNavigator is positioned on the first element in the XPathDocument.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.