Skip to main content

SpellCheckerBase.GetSuggestions(String) Method

Gets suggested words to replace a specified word.

Namespace: DevExpress.XtraSpellChecker

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

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public virtual SuggestionCollection GetSuggestions(
    string word
)

Parameters

Name Type Description
word String

A string that is the word for which corrections are suggested by the spellchecker.

Returns

Type Description
SuggestionCollection

A SuggestionCollection containing words from the dictionary that are suggested replacements.

Remarks

Use the GetSuggestions method to implement your own spelling forms or check-as-you-type techniques.

See Also