Spread Windows Forms 7.0 Product Documentation
Undo(Int32) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > UndoManager Class > Undo Method : Undo(Int32) Method


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

Glossary Item Box

Undoes the specified number of actions and adds them to the redo list.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Undo( _
   ByVal count As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UndoManager
Dim count As Integer
Dim value As Boolean
 
value = instance.Undo(count)
C# 
public 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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.