Back to Devexpress

SpellCheckerBase.GetSuggestions(String) Method

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase-dot-getsuggestions-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

SpellCheckerBase.GetSuggestions(String) Method

Gets suggested words to replace a specified word.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public virtual SuggestionCollection GetSuggestions(
    string word
)
vb
Public Overridable Function GetSuggestions(
    word As String
) As SuggestionCollection

Parameters

NameTypeDescription
wordString

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

|

Returns

TypeDescription
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

SpellCheckerBase Class

SpellCheckerBase Members

DevExpress.XtraSpellChecker Namespace