System.Windows.Forms.TextBoxBase.Cut Method

Moves the current selection in the text box to the Clipboard.

Syntax

public void Cut ()

Remarks

This method will only cut text from the text box if text is selected in the control. You can use this method, instead of using the System.Windows.Forms.Clipboard class, to copy text in the text box and move it to the Clipboard.

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