Spread Windows Forms 9.0 Product Documentation
Undo(Int32) Method


Number of actions to undo, or -1 to undo all actions
Undoes the specified number of actions and adds them to the redo list.
Syntax
'Declaration
 
Protected Overloads Function Undo( _
   ByVal count As Integer _
) As Boolean
'Usage
 
Dim instance As UndoRedoManager
Dim count As Integer
Dim value As Boolean
 
value = instance.Undo(count)
protected bool Undo( 
   int count
)

Parameters

count
Number of actions to undo, or -1 to undo all actions

Return Value

Boolean: true if successful; false otherwise
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

UndoRedoManager Class
UndoRedoManager Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.