Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XPathNavigator.Evaluate Method (XPathExpression, XPathNodeIterator)

Uses the supplied context to evaluate the XPathExpression, and returns the typed result.

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

public virtual Object Evaluate(
	XPathExpression expr,
	XPathNodeIterator context
)

Parameters

expr
Type: System.Xml.XPath.XPathExpression
An XPathExpression that can be evaluated.
context
Type: System.Xml.XPath.XPathNodeIterator
An XPathNodeIterator that points to the selected node set that the evaluation is to be performed on.

Return Value

Type: System.Object
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.

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:
© 2015 Microsoft