ITextDocument::Redo method (tom.h)

Performs a specified number of redo operations.

Syntax

HRESULT Redo(
  long Count,
  long *pCount
);

Parameters

Count

Type: long

The number of redo operations specified.

pCount

Type: long*

The actual count of redo operations performed. This parameter can be NULL.

Return value

Type: HRESULT

If the method succeeds it returns S_OK. If the method fails, it returns the following COM error code. For more information on COM error codes, see Error Handling in COM.

Return code Description
S_FALSE
Less than Count redo operations were performed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

Conceptual

ITextDocument

Reference

Text Object Model

Undo