CalcEngine for .NET
C1.CalcEngine.ExpressionEngine Namespace / ExpressionEngine Class / AddError Method
Start position of error in the Expression string.
Error substring length.
Code of error.

In This Topic
    AddError Method
    In This Topic
    Adds an error to the error collection.
    Syntax
    'Declaration
     
    
    Public Sub AddError( _
       ByVal position As Integer, _
       ByVal length As Integer, _
       ByVal code As ErrorType _
    ) 
    public void AddError( 
       int position,
       int length,
       ErrorType code
    )

    Parameters

    position
    Start position of error in the Expression string.
    length
    Error substring length.
    code
    Code of error.
    See Also