XPathDocument.CreateNavigator Méthode

Définition

Initialise un objet en lecture seule XPathNavigator pour naviguer dans les nœuds dans ce 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

Retours

Objet en lecture seule XPathNavigator .

Implémente

Remarques

Est XPathNavigator positionné sur l’élément racine du XPathDocument. S’il n’existe aucun élément racine, il XPathNavigator est positionné sur le premier élément du XPathDocument.

S’applique à