ISpellChecker::Add method
Treats the provided word as though it were part of the original dictionary.
The word will no longer be considered misspelled, and will also be considered as a candidate for suggestions.
Syntax
HRESULT Add(
[in] LPCWSTR word
);
Parameters
- word [in]
-
The word to be added to the list of added words.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Successful. |
|
word is an empty string, or its length is greater than MAX_WORD_LENGTH. |
|
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 |
|
|
IDL |
|
See also