FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / Evaluate Method / Evaluate(String,IReportScriptContext) Method
A string with a VBScript expression to be evaluated.
IReportScriptContext interface used to obtain objects available in expression.

In This Topic
    Evaluate(String,IReportScriptContext) Method
    In This Topic
    Evaluates a VBScript expression.
    Syntax
    'Declaration
     
    Public Overloads Function Evaluate( _
       ByVal expression As String, _
       ByVal context As IReportScriptContext _
    ) As Object
    public object Evaluate( 
       string expression,
       IReportScriptContext context
    )

    Parameters

    expression
    A string with a VBScript expression to be evaluated.
    context
    IReportScriptContext interface used to obtain objects available in expression.

    Return Value

    The value of the expression.
    See Also