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
- 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.
Return Value
Type: T