CORRECTIVE_ACTION enumeration (spellcheck.h)

Identifies the type of corrective action to be taken for a spelling error.

Syntax

typedef enum CORRECTIVE_ACTION {
  CORRECTIVE_ACTION_NONE = 0,
  CORRECTIVE_ACTION_GET_SUGGESTIONS = 1,
  CORRECTIVE_ACTION_REPLACE = 2,
  CORRECTIVE_ACTION_DELETE = 3
} ;

Constants

 
CORRECTIVE_ACTION_NONE
Value: 0
There are no errors.
CORRECTIVE_ACTION_GET_SUGGESTIONS
Value: 1
The user should be prompted with a list of suggestions as returned by ISpellChecker::Suggest.
CORRECTIVE_ACTION_REPLACE
Value: 2
Replace the indicated erroneous text with the text provided in the suggestion. The user does not need to be prompted.
CORRECTIVE_ACTION_DELETE
Value: 3
The user should be prompted to delete the indicated erroneous text.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header spellcheck.h

See also

ISpellChecker::Suggest

ISpellingError::CorrectiveAction