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

Parameters

word [in]

The word to ignore.

Return value

This method can return one of these values.

Return codeDescription
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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Spellcheck.h

IDL

Spellcheck.idl

See also

ISpellChecker

 

 

Community Additions

ADD
Show:
© 2014 Microsoft