Share via


IXmlNodeSelector.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:
 XmlNodeList ^ SelectNodes(Platform::String ^ xpath);
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.

Applies to