Clipboard.SetText Method
.NET Framework 4.5
Clears the Clipboard and then adds text data to it.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SetText(String) | Clears the Clipboard and then adds text data in the Text or UnicodeText format, depending on the operating system. |
|
SetText(String, TextDataFormat) | Clears the Clipboard and then adds text data in the format indicated by the specified TextDataFormat value. |