TXTextControl.Proofing.SpellingCorrectionUIProvider.CorrectionHandler.CheckCorrectedWord Method

Returns a value whether the specified word was found in one of the current selected suggestion dictionaries or not.

Syntax

[C#]
public bool CheckCorrectedWord(string correctedWord, out string messageText);
[Visual Basic]
Public Sub CheckCorrectedWord(correctedWord As String, ByRef messageText As String) As Bollean
Parameter Description
correctedWord

The specified word to check.

messageText

If the specified word was not found in one of the current selected suggestion dictionaries, the parameter is set to a message which informs the user about the result of this request. Otherwise it is set to an empty string.

Return Value

True if the specified word was found in one of the current selected suggestion dictionaries. Otherwise false.

Remarks

This method is only enabled if the SpellingCorrectionUIProvider's mode is set to SuggestionsCreated or WordToCorrectEditing.