Share via


ISpellCheckProvider::ResetOptionValueToDefault method

Applies to: desktop apps | Metro style apps

Sets the value of the option back to the default. This eliminates any value the user may have previously selected.

Syntax

HRESULT ResetOptionValueToDefault(
  [in]  LPCWSTR optionId
);

Parameters

  • optionId [in]
    The option identifier.

Return value

This method can return one of these values.

Return code Description
S_OK

Successful.

E_ INVALIDARG

optionId is an empty string, or it is not one of the available options.

E_POINTER

optionId is a null pointer.

 

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Spellcheckprovider.h

IDL

Spellcheckprovider.idl

See also

ISpellCheckProvider

 

 

Send comments about this topic to Microsoft

Build date: 7/2/2012