Table of Contents

Method Contains

Namespace
DotNetBrowser.SpellCheck
Assembly
DotNetBrowser.dll

Contains(string)

Checks if the dictionary contains the specified word.

bool Contains(string word)

Parameters

word string

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

ObjectDisposedException

The ISpellCheckDictionary has already been disposed.