IXPathNavigable.CreateNavigator Méthode

Définition

Retourne un nouvel objet XPathNavigator.

public:
 System::Xml::XPath::XPathNavigator ^ CreateNavigator();
public System.Xml.XPath.XPathNavigator? CreateNavigator ();
public System.Xml.XPath.XPathNavigator CreateNavigator ();
abstract member CreateNavigator : unit -> System.Xml.XPath.XPathNavigator
Public Function CreateNavigator () As XPathNavigator

Retours

XPathNavigator

Objet XPathNavigator.

Exemples

Pour obtenir des exemples de la CreateNavigator méthode, consultez les classes ou XmlDocument les XmlNodeobjetsXPathDocument.

Remarques

Si la CreateNavigator méthode est appelée à partir d’un XmlNode objet, l’objet XPathNavigator est initialement positionné sur le nœud à partir duquel la méthode a été appelée. Si la CreateNavigator méthode est appelée à partir d’un objet ou d’un XPathDocument XmlDocument objet, l’objet XPathNavigator est positionné à la racine du document.

S’applique à

Voir aussi