Skip to main content

SpellCheckerDictionaryBase.HasWord(String) Method

OBSOLETE

This method has become obsolete. To determine whether a word is in the dictionary use the 'FindWord' method.

Indicates whether the current dictionary contains a specified word.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.1.Core.dll

NuGet Package: DevExpress.SpellChecker.Core

Declaration

[Obsolete("This method has become obsolete. To determine whether a word is in the dictionary use the 'FindWord' method.", true)]
public virtual bool HasWord(
    string word
)

Parameters

Name Type Description
word String

A String object that represents the word being searched for.

Returns

Type Description
Boolean

true if the dictionary has this word, false if the word is not found within the dictionary.

Remarks

The search results depend on the SpellCheckerDictionaryBase.CaseSensitive property setting.

See Also