XPathDocument.CreateNavigator Método

Definición

Inicializa un objeto XPathNavigator de sólo lectura para navegar por los nodos de este 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

Devoluciones

Un objeto XPathNavigator de solo lectura.

Implementaciones

Comentarios

XPathNavigator se coloca en el elemento raíz de XPathDocument. Si no hay ningún elemento raíz, XPathNavigator se coloca en el primer elemento de XPathDocument.

Se aplica a