Method AddError
AddError(ISyntaxError)
Adds specified error to the error collection.
public virtual int AddError(ISyntaxError err)
Parameters
errISyntaxErrorSpecifies
ISyntaxErrorto 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
ISyntaxErrorthat is added.