Method AddError
AddError(ISyntaxError)
When implemented by a class, adds specified error to the error collection.
int AddError(ISyntaxError err)
Parameters
err
ISyntaxErrorSpecifies
ISyntaxError
to add.
Returns
- int
Number of added error in the error collection.
AddError()
When implemented by a class, creates a new ISyntaxError
and add it to the error collection.
ISyntaxError AddError()
Returns
- ISyntaxError
ISyntaxError
that is added.