Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Undo() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SuperEditBase instance.Undo() |
C# | |
---|---|
public virtual void Undo() |
Use this method to undo previous editing, such as typing or cutting a selection to the Clipboard.
Note: In some controls, the Undo method has no effect if the method is called after the control loses the focus. For example, if the user edits the contents of the control, then pushes a button control to undo the last edit, the Undo method might have no effect. |
C# | Copy Code |
---|---|
control.Undo(); |
Visual Basic | Copy Code |
---|---|
control.Undo() |
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