ITextDocument::Undo method
Performs a specified number of undo operations.
Syntax
HRESULT Undo( long Count, long *prop );
Parameters
- Count
-
Type: long
The specified number of undo operations. If the value of this parameter is tomFalse, undo processing is suspended. If this parameter is tomTrue, undo processing is restored.
- prop
-
Type: long*
The actual count of undo operations performed. This parameter can be NULL.
Return value
Type: HRESULT
If all of the Count undo operations were performed, it returns S_OK. If the method fails, it returns S_FALSE, indicating that less than Count undo operations were performed. For more information on COM error codes, see Error Handling in COM.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
- Reference
- ITextDocument
- Redo
- Conceptual
- Text Object Model
Send comments about this topic to Microsoft
Build date: 10/27/2012