Name
Clipboard Class
Namespace
System.Windows.Forms
Createable
No
Description
The Clipboard object represents the Windows Clipboard, an object that allows data to be shared across processes. The members of the Clipboard class allow data to be placed in and retrieved from the Clipboard.
The Clipboard object can be created as follows:
Dim obj As Clipboard
However, because the Clipboard object’s members are shared, you do not need to instantiate the Clipboard object to access its properties and methods. Hence, you can place data on the Clipboard, for instance, with the following code fragment:
Clipboard.SetDataObject(strData)
Application class members marked with a plus sign (+) are discussed in detail in their own entries.
Public Shared Methods
GetDataObject + |
SetDataObject + |
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.