Method AddError
AddError(ISyntaxError)
Adds specified error to the error collection.
public virtual int AddError(ISyntaxError err)
Parameters
err
ISyntaxErrorSpecifies
ISyntaxError
to add.
Returns
- int
Number of added error in the error collection.
AddError()
Creates a new ISyntaxError
and add it to the error collection.
public virtual ISyntaxError AddError()
Returns
- ISyntaxError
ISyntaxError
that is added.