SetText Method

Clipboard.SetText Method

 

Clears the Clipboard and then adds text data to it.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSetText(String)

Clears the Clipboard and then adds text data in the Text or UnicodeText format, depending on the operating system.

System_CAPS_pubmethodSystem_CAPS_staticSetText(String, TextDataFormat)

Clears the Clipboard and then adds text data in the format indicated by the specified TextDataFormat value.

Return to top
Show:
© 2016 Microsoft