Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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