Method Add
- Namespace
- DotNetBrowser.SpellCheck
- Assembly
- DotNetBrowser.dll
Add(string)
Adds the specified word
to the dictionary and schedules a write to disk.
bool Add(string word)
Parameters
word
stringThe word to add to the dictionary. It must be UTF8, between 1 and 99 bytes long, and without leading or trailing ASCII whitespace.
Returns
- bool
true
if the word is valid and not a duplicate.
Exceptions
- ArgumentException
The
word
is null, empty, or contains only white space.- ObjectDisposedException
The ISpellCheckDictionary has already been disposed.