EdmExpressionEvaluator.Evaluate Method (IEdmExpression)
Evaluates an expression with no value context.
Namespace: Microsoft.Data.Edm.Evaluation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function Evaluate ( _
expression As IEdmExpression _
) As IEdmValue
'Usage
Dim instance As EdmExpressionEvaluator
Dim expression As IEdmExpression
Dim returnValue As IEdmValue
returnValue = instance.Evaluate(expression)
public IEdmValue Evaluate(
IEdmExpression expression
)
public:
IEdmValue^ Evaluate(
IEdmExpression^ expression
)
member Evaluate :
expression:IEdmExpression -> IEdmValue
public function Evaluate(
expression : IEdmExpression
) : IEdmValue
Parameters
- expression
Type: Microsoft.Data.Edm.Expressions.IEdmExpression
Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied.
Return Value
Type: Microsoft.Data.Edm.Values.IEdmValue
The value that results from evaluating the expression in the context of the supplied value.