XmlProcessingInstruction.SelectSingleNode(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 first matching node.
public:
virtual IXmlNode ^ SelectSingleNode(Platform::String ^ xpath) = SelectSingleNode;
IXmlNode SelectSingleNode(winrt::hstring const& xpath);
public IXmlNode SelectSingleNode(string xpath);
function selectSingleNode(xpath)
Public Function SelectSingleNode (xpath As String) As IXmlNode
Parameters
- xpath
-
String
Platform::String
winrt::hstring
Specifies an XPath expression.
Returns
The first node that matches the given pattern-matching operation. If no nodes match the expression, the method returns a null value.
Implements
M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectSingleNode(System.String)
M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectSingleNode(Platform::String)
M:Windows.Data.Xml.Dom.IXmlNodeSelector.SelectSingleNode(winrt::hstring)