XPathDocument.CreateNavigator Método

Definição

Inicializa um objeto somente XPathNavigator leitura para navegar por nós neste 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

Retornos

Um objeto somente XPathNavigator leitura.

Implementações

Comentários

O XPathNavigator é posicionado no elemento raiz do XPathDocument. Se não houver nenhum elemento raiz, ele XPathNavigator será posicionado no primeiro elemento no XPathDocument.

Aplica-se a