Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ExternalVariable Class / EvaluateCore Method
The evaluation context.
An GrapeCity.CalcEngine.IValue object which stores the evaluated result.


In This Topic
    EvaluateCore Method (ExternalVariable)
    In This Topic
    Evaluates the result of this external variable.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub EvaluateCore( _
       ByVal context As IEvaluationContext, _
       ByVal result As IValue _
    ) 
    'Usage
     
    
    Dim instance As ExternalVariable
    Dim context As IEvaluationContext
    Dim result As IValue
     
    instance.EvaluateCore(context, result)
    protected virtual void EvaluateCore( 
       IEvaluationContext context,
       IValue result
    )

    Parameters

    context
    The evaluation context.
    result
    An GrapeCity.CalcEngine.IValue object which stores the evaluated result.
    Remarks
    This function is invoked only if the external variable isn't attached with a formula. If it has formula, the calculation engine will take care everything.
    See Also