Nevron .NET Vision
Nevron.FormulaSheet Namespace / NFormulaSheetEvaluator Class / EvaluateCellFormula Method
cell, which will host or already hosts the specified formula
cell formula, which must be evaluated
cell evaluation result, or null if the evaluation failed
optional error string, which is only valid if the evaluation failed


In This Topic
    EvaluateCellFormula Method
    In This Topic
    Evaluates the formula of the specified cell
    Syntax
    'Declaration
     
    
    Public Overridable Function EvaluateCellFormula( _
       ByVal cell As NFormulaCell, _
       ByVal formula As System.String, _
       ByRef result As NVariant, _
       ByRef error As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NFormulaSheetEvaluator
    Dim cell As NFormulaCell
    Dim formula As System.String
    Dim result As NVariant
    Dim error As System.String
    Dim value As System.Boolean
     
    value = instance.EvaluateCellFormula(cell, formula, result, error)
    public virtual System.bool EvaluateCellFormula( 
       NFormulaCell cell,
       System.string formula,
       out NVariant result,
       out System.string error
    )

    Parameters

    cell
    cell, which will host or already hosts the specified formula
    formula
    cell formula, which must be evaluated
    result
    cell evaluation result, or null if the evaluation failed
    error
    optional error string, which is only valid if the evaluation failed

    Return Value

    true if the cell evaluation succeeded, otherwise false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also