Evaluate Method (IEdmExpression, IEdmValue, IEdmTypeReference)

Evaluates an expression in the context of a value and a target type.

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

Syntax

'Declaration
Public Function Evaluate ( _
    expression As IEdmExpression, _
    context As IEdmValue, _
    targetType As IEdmTypeReference _
) As IEdmValue
'Usage
Dim instance As EdmEvaluator
Dim expression As IEdmExpression
Dim context As IEdmValue
Dim targetType As IEdmTypeReference
Dim returnValue As IEdmValue

returnValue = instance.Evaluate(expression, _
    context, targetType)
public IEdmValue Evaluate(
    IEdmExpression expression,
    IEdmValue context,
    IEdmTypeReference targetType
)
public:
IEdmValue^ Evaluate(
    IEdmExpression^ expression, 
    IEdmValue^ context, 
    IEdmTypeReference^ targetType
)
member Evaluate : 
        expression:IEdmExpression * 
        context:IEdmValue * 
        targetType:IEdmTypeReference -> IEdmValue 
public function Evaluate(
    expression : IEdmExpression, 
    context : IEdmValue, 
    targetType : IEdmTypeReference
) : IEdmValue

Parameters

Return Value

Type: Microsoft.Data.Edm.Values..::..IEdmValue
The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type.

See Also

Reference

EdmEvaluator Class

Evaluate Overload

Microsoft.Data.Edm.Evaluation Namespace