ISpellChecker::Ignore method

Ignores the provided word for the rest of this session.

Until this ISpellChecker interface is released, the word will no longer be considered misspelled, but it will not be considered as a candidate for suggestions.

Syntax

HRESULT Ignore(
  LPCWSTR word
);

Parameters

word

The word to ignore.

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

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

See also

ISpellChecker