Method Contains
- Namespace
- DotNetBrowser.SpellCheck
- Assembly
- DotNetBrowser.dll
Contains(string)
Checks if the dictionary contains the specified word
.
bool Contains(string word)
Parameters
word
stringThe word to check. It must be UTF8, between 1 and 99 bytes long, and without leading or trailing ASCII whitespace.
Returns
- bool
true
if the word is present in the dictionary,false
otherwise.
Exceptions
- ArgumentException
The
word
is null, empty, or contains only white space.- ObjectDisposedException
The ISpellCheckDictionary has already been disposed.