Click or drag to resize

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.12.0
Syntax
C#
bool Add(
	string word
)

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: Boolean
true if the word is valid and not a duplicate.
Exceptions
ExceptionCondition
ArgumentExceptionThe wordis null, empty, or contains only white space.
ObjectDisposedExceptionThe ISpellCheckDictionary has already been disposed.
See Also