IEnumSpellingError::Next method

Gets the next spelling error.

Syntax


HRESULT Next(
  [out, retval]  ISpellingError **value
);

Parameters

value [out, retval]

The spelling error (ISpellingError) returned.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Successful.

S_FALSE

There is no spelling error left to return. value does not point at a valid ISpellingError.

 

Remarks

If there are no spelling errors, this will return S_FALSE. This provides a way for a provider to implement spell checking lazily if desired—instead of doing the spell checking work on ISpellCheckProvider::Check and getting all the errors at once, you can do it only as needed when this method is called, getting one error per call.

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

IEnumSpellingError
ISpellingError

 

 

Community Additions

ADD
Show:
© 2014 Microsoft