System.Windows.Forms.TextBoxBase.ClearUndo Method

Clears information about the most recent operation from the undo buffer of the text box.

Syntax

public void ClearUndo ()

Remarks

You can use this method to prevent an undo operation from repeating, based on the state of your application.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0