Table of Contents

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 string

The 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 wordis null, empty, or contains only white space.

ObjectDisposedException

The ISpellCheckDictionary has already been disposed.