FlexReport for WPF | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / FlexReport 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