ISpellChecker::Ignore method (spellcheck.h)

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(
  [in] LPCWSTR word
);

Parameters

[in] 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

Requirement Value
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