Share via


XPathNavigator.Select Method (String, IXmlNamespaceResolver)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Selects a node set using the specified XPath expression with the IXmlNamespaceResolver object specified to resolve namespace prefixes.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Overridable Function Select ( _
    xpath As String, _
    resolver As IXmlNamespaceResolver _
) As XPathNodeIterator
public virtual XPathNodeIterator Select(
    string xpath,
    IXmlNamespaceResolver resolver
)

Parameters

Return Value

Type: System.Xml.XPath.XPathNodeIterator
An XPathNodeIterator that points to the selected node set.

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.