clipboard class : SetText(string) method
Description
Sets a text data.
Syntax
instance.SetText(string data)
Arguments
None.
Class | Name | Description |
string | data | a text data. |
Return value
None.
Sample code
1: | clipboard clip; |
2: | clip.SetText("Any string."); |
Notes
If you set an empty string, nothing happens.
It is a wrapper of the System.Windows.Clipboard.SetText(String).