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