TdxSpellCheckerAutoCorrectExceptions.Add(string) Method
Adds a specified word to the collection.
Declaration
function Add(const AException: string): Integer;
Parameters
| Name | Type |
|---|---|
| AException | string |
Returns
| Type |
|---|
| Integer |
Remarks
This function adds the word passed as the AException parameter to the collection and returns the zero-based index of this word in the collection. The function does not add the word and returns -1 if any of the following conditions are met:
The word contains digits;
The same word is already stored in the collection.
See Also