ISpellingError::Replacement property

Gets the text to use as replacement text when the corrective action is replace.

This property is read-only.

Syntax


HRESULT get_Replacement(
  [out, retval]  LPWSTR *value
);

Property value

The text that should replace the erroneous text.

Error codes

NameMeaning
S_OK

Successful.

Remarks

If the CORRECTIVE_ACTION returned by CorrectiveAction is not CORRECTIVE_ACTION_REPLACE, value is the empty string.

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

ISpellingError
CorrectiveAction
CORRECTIVE_ACTION

 

 

Community Additions

ADD
Show:
© 2014 Microsoft