Skip to main content
A newer version of this page is available. .

SpellCheckerBase.GetSuggestions(String) Method

Gets suggested words to replace a specified word.

Namespace: DevExpress.XtraSpellChecker

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetSuggestions(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also