Clipboard.GetText Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves text data from the Clipboard.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetText()

Retrieves text data from the Clipboard in the Text or UnicodeText format, depending on the operating system.

System_CAPS_pubmethodSystem_CAPS_staticGetText(TextDataFormat)

Retrieves text data from the Clipboard in the format indicated by the specified TextDataFormat value.

Return to top
Show: