Skip to main content

DictionaryHelper.FindWord(String, CultureInfo) Method

Searches for a word in all available dictionaries of the specified culture.

Namespace: DevExpress.XtraSpellChecker

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

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public virtual bool FindWord(
    string word,
    CultureInfo culture
)

Parameters

Name Type Description
word String

A string that is the word to be searched for.

culture CultureInfo

A CultureInfo object specifying the culture of the dictionaries which will be searched for a word.

Returns

Type Description
Boolean

true if a word is found; otherwise, false.

Remarks

Use this method instead of iterating all available dictionaries and calling their SpellCheckerDictionaryBase.FindWord methods.

See Also