Method AddError
AddError(ISyntaxError)
When implemented by a class, adds specified error to the error collection.
int AddError(ISyntaxError err)
Parameters
errISyntaxErrorSpecifies
ISyntaxErrorto 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
ISyntaxErrorthat is added.