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

returnValue = instance.EvaluateToClrValue(expression, _
    context, targetType)
public T EvaluateToClrValue<T>(
    IEdmExpression expression,
    IEdmStructuredValue context,
    IEdmTypeReference targetType
)
public:
generic<typename T>
T EvaluateToClrValue(
    IEdmExpression^ expression, 
    IEdmStructuredValue^ context, 
    IEdmTypeReference^ targetType
)
member EvaluateToClrValue : 
        expression:IEdmExpression * 
        context:IEdmStructuredValue * 
        targetType:IEdmTypeReference -> '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