Export (0) Print
Expand All

XPathNavigator.SelectSingleNode Method (String)

Selects a single node in the XPathNavigator using the specified XPath query.

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

public virtual XPathNavigator SelectSingleNode(
	string xpath
)

Parameters

xpath
Type: System.String
A String representing an XPath expression.

Return Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator object that contains the first matching node for the XPath query specified; otherwise, null if there are no query results.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft