Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetText Method

Clipboard.SetText Method

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.

  NameDescription
Public method Static member SetText(String) Clears the Clipboard and then adds text data in the Text or UnicodeText format, depending on the operating system.
Public method Static member SetText(String, TextDataFormat) Clears the Clipboard and then adds text data in the format indicated by the specified TextDataFormat value.
Top

Community Additions

ADD
Show:
© 2015 Microsoft