XPathNavigator.Matches Method (String)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Determines whether the current node matches the specified XPath expression.
Namespace: System.Xml.XPath
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Syntax
'Declaration
Public Overridable Function Matches ( _
xpath As String _
) As Boolean
public virtual bool Matches(
string xpath
)
Parameters
- xpath
Type: System.String
The XPath expression.
Return Value
Type: System.Boolean
Returns true if the current node matches the specified XPath expression; otherwise, false.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.