Share via


XmlDocumentType.SelectNodes(String) Method

Definition

Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as an 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

Parameters

xpath
String

Platform::String

winrt::hstring

Specifies an XPath expression.

Returns

The collection of nodes selected by applying the given pattern-matching operation. If no nodes are selected, this method returns an empty collection.

Implements

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)

Applies to