SpellCheckerBase.CheckText(String, Boolean) Method
In This Article
OBSOLETE
Use the Check
Checks the specified text to get a list of erroneous words and suggested corrections.
Namespace: DevExpress.XtraSpellChecker
Assembly: DevExpress.SpellChecker.v24.2.Core.dll
NuGet Package: DevExpress.SpellChecker.Core
#Declaration
[Obsolete("Use the CheckText(string) to check text and the WrongWordRecord.GetSuggestions method to get suggestions instead.")]
public virtual List<WrongWordRecord> CheckText(
string text,
bool needSuggestions
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | A string that is the text to be checked. |
need |
Boolean | true to calculate suggestions for a misspelled word; otherwise, false. |
#Returns
Type | Description |
---|---|
List<Wrong |
A List<Wrong |
#Remarks
You can set the needSuggestion to false to achieve a performance gain because in this case, the method will not search for suggestions.
See Also