[]
Evaluates expression in global context (i.e. without any report context).
public static object EvalConst(this ExpressionInfo expression, bool takeTypeFromExpression = false)
| Type | Name | Description |
|---|---|---|
| ExpressionInfo | expression | The expression to evaluate. |
| bool | takeTypeFromExpression | If 'true' than the ResultType property value of source expression will be used to parse constant. |
| Type | Description |
|---|---|
| object |