XmlDocument.SelectNodes(String) Méthode

Définition

Applique l’opération de correspondance de modèle spécifiée au contexte de ce nœud et retourne la liste des nœuds correspondants en tant que XmlNodeList.

public:
 virtual XmlNodeList ^ SelectNodes(Platform::String ^ xpath) = SelectNodes;
XmlNodeList SelectNodes(winrt::hstring const& xpath);
public XmlNodeList SelectNodes(string xpath);
function selectNodes(xpath)
Public Function SelectNodes (xpath As String) As XmlNodeList

Paramètres

xpath
String

Platform::String

winrt::hstring

Spécifie une expression XPath.

Retours

Collection de nœuds sélectionnée en appliquant l’opération de correspondance de modèle donnée. Si aucun nœud n’est sélectionné, cette méthode retourne une collection vide.

Implémente

M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectNodes(System.String) M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectNodes(Platform::String) M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectNodes(winrt::hstring)

S’applique à