ISpellChecker2::Remove method

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

word [in]

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 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 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Header

Spellcheck.h

IDL

Spellcheck.idl

See also

ISpellChecker
ISpellChecker.Add
ISpellChecker.Ignore
ISpellChecker2

 

 

Show: