System.Windows.Forms.TextBoxBase.Copy Method

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

Syntax

public void Copy ()

Remarks

You can use this method, instead of using the System.Windows.Forms.Clipboard class, to copy text in the text box and place it in 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