ISpellCheckDictionaryAdd Method |
Adds the specified word to the dictionary and schedules a write to disk.
Namespace:
DotNetBrowser.SpellCheck
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax Parameters
- word
- Type: SystemString
The word to add to the dictionary. It must be UTF8, between 1 and 99 bytes long,
and without leading or trailing ASCII whitespace.
Return Value
Type:
Booleantrue if the word is valid and not a duplicate.
Exceptions Exception | Condition |
---|
ArgumentException | The wordis null, empty, or contains only white space. |
ObjectDisposedException | The ISpellCheckDictionary has already been disposed. |
See Also