Share via


EdmToClrEvaluator.EvaluateToClrValue<T> 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 EvaluateToClrValue(Of T) ( _
    expression As IEdmExpression, _
    context As IEdmStructuredValue _
) As T
'Usage
Dim instance As EdmToClrEvaluator 
Dim expression As IEdmExpression 
Dim context As IEdmStructuredValue 
Dim returnValue As T

returnValue = instance.EvaluateToClrValue(expression, _
    context)
public T EvaluateToClrValue<T>(
    IEdmExpression expression,
    IEdmStructuredValue context
)
public:
generic<typename T>
T EvaluateToClrValue(
    IEdmExpression^ expression, 
    IEdmStructuredValue^ context
)
member EvaluateToClrValue : 
        expression:IEdmExpression * 
        context:IEdmStructuredValue -> 'T 
JScript does not support generic types and methods.

Type Parameters

  • T
    The CLR type of the value to be returned.

Parameters

Return Value

Type: T

See Also

Reference

EdmToClrEvaluator Class

EvaluateToClrValue Overload

Microsoft.Data.Edm.Evaluation Namespace