ISpellChecker2::Remove method (spellcheck.h)

Removes a word that was previously added by ISpellChecker.Add, or set by ISpellChecker.Ignore to be ignored.

Syntax

HRESULT Remove(
  [in] LPCWSTR word
);

Parameters

[in] word

The word to be removed from the list of added words, or from the list of ignored words. If the word is not present, nothing will be removed.

Return value

This method can return one of these values.

Return code Description
S_OK
Successful.
E_ INVALIDARG
word is an empty string, or its length is greater than MAX_WORD_LENGTH.
E_POINTER
word is a null pointer.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header spellcheck.h

See also

ISpellChecker

ISpellChecker.Add

ISpellChecker.Ignore

ISpellChecker2