Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Switch View :
Classic
Lightweight Beta
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Windows.Forms Namespace
Please Wait
Clipboard Class
Please Wait
Clipboard Methods
Please Wait
SetText Method
Please Wait
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
Clipboard
.
.
::
.
SetText Method
Adds text data to the Clipboard.
Overload List
Name
Description
SetText(String)
Adds text data to the Clipboard in the
Text
or
UnicodeText
format, depending on the operating system.
SetText(String, TextDataFormat)
Adds text data to the Clipboard in the format indicated by the specified
TextDataFormat
value.
Top
See Also
Reference
Clipboard Class
Clipboard Members
System.Windows.Forms Namespace
TextDataFormat
ContainsText
GetText
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement