Share via


XmlCDataSection.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. Cette méthode n’est pas applicable à cette classe et lève une exception.

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és 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 à