Evaluate Method (IEdmExpression, IEdmValue)

WCF Data Services 5.0

Evaluates an expression in the context of a value.

Namespace:  Microsoft.Data.Edm.Evaluation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

public IEdmValue Evaluate(
	IEdmExpression expression,
	IEdmValue context
)

Parameters

expression
Type: Microsoft.Data.Edm.Expressions..::..IEdmExpression
Expression to evaluate.
context
Type: Microsoft.Data.Edm.Values..::..IEdmValue
Value to use as context in evaluating the expression.

Return Value

Type: Microsoft.Data.Edm.Values..::..IEdmValue
The value that results from evaluating the expression in the context of the supplied value.
Show: