EdmExpressionEvaluator.Evaluate Method (IEdmExpression, IEdmStructuredValue)
Evaluates an expression in the context of a value.
Namespace: Microsoft.Data.Edm.Evaluation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function Evaluate ( _
expression As IEdmExpression, _
context As IEdmStructuredValue _
) As IEdmValue
'Usage
Dim instance As EdmExpressionEvaluator
Dim expression As IEdmExpression
Dim context As IEdmStructuredValue
Dim returnValue As IEdmValue
returnValue = instance.Evaluate(expression, _
context)
public IEdmValue Evaluate(
IEdmExpression expression,
IEdmStructuredValue context
)
public:
IEdmValue^ Evaluate(
IEdmExpression^ expression,
IEdmStructuredValue^ context
)
member Evaluate :
expression:IEdmExpression *
context:IEdmStructuredValue -> IEdmValue
public function Evaluate(
expression : IEdmExpression,
context : IEdmStructuredValue
) : IEdmValue
Parameters
- expression
Type: Microsoft.Data.Edm.Expressions.IEdmExpression
Expression to evaluate.
- context
Type: Microsoft.Data.Edm.Values.IEdmStructuredValue
Value to use as context in evaluating the expression. Cannot be null if the expression contains paths.
Return Value
Type: Microsoft.Data.Edm.Values.IEdmValue
The value that results from evaluating the expression in the context of the supplied value.