Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISpellChecker::Check method

Checks the spelling of the supplied text and returns a collection of spelling errors.

Syntax


HRESULT Check(
  [in]          LPCWSTR            text,
  [out, retval] IEnumSpellingError **value
);

Parameters

text [in]

The text to check.

value [out, retval]

The result of checking this text, returned as an IEnumSpellingError object.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Successful.

E_ INVALIDARG

text is an empty string.

E_POINTER

text is a null pointer.

 

Remarks

The returned IEnumSpellingError contains the results of spell checking. A correct text returns an empty (not a null) enumeration.

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Spellcheck.h

IDL

Spellcheck.idl

See also

ISpellChecker
IEnumSpellingError

 

 

Show:
© 2018 Microsoft