ActiveReports 12
EvalConst Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Expressions Namespace > ExpressionExtentions Class : EvalConst Method
The expression to evaluate.
If 'true' than the ResultType property value of source expression will be used to parse constant.
Evaluates expression in global context (i.e. without any report context).
Syntax
'Declaration
 
Public Shared Function EvalConst( _
   ByVal expression As ExpressionInfo, _
   Optional ByVal takeTypeFromExpression As Boolean _
) As Object
public static object EvalConst( 
   ExpressionInfo expression,
   bool takeTypeFromExpression
)

Parameters

expression
The expression to evaluate.
takeTypeFromExpression
If 'true' than the ResultType property value of source expression will be used to parse constant.
See Also

Reference

ExpressionExtentions Class
ExpressionExtentions Members