IXmlNodeSelector.SelectNodes(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.