XPathDocument.CreateNavigator Metoda

Definicja

Inicjuje obiekt tylko XPathNavigator do odczytu do nawigowania po węzłach w tym obiekcie 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

Zwraca

Obiekt tylko do XPathNavigator odczytu.

Implementuje

Uwagi

Element XPathNavigator jest umieszczony na elemecie głównym elementu XPathDocument. Jeśli nie ma elementu głównego, XPathNavigator element jest umieszczony na pierwszym elemecie w elemecie XPathDocument.

Dotyczy