Visual Basic (Declaration) | |
---|---|
Public Sub Cut() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditBase instance.Cut() |
C# | |
---|---|
public void Cut() |
This method will only cut text from the control 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 control and move it to the Clipboard.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8