Name
Clipboard
Synopsis
This class allows you to put data onto (SetDataObject()
) and get data from (GetDataObject()
)
the clipboard. See IDataObject
and
DataObject
for information on how to encapsulate
data for the clipboard and drag-and-drop operations.
public sealed class Clipboard { // Public Static Methods public static IDataObject GetDataObject(); public static void SetDataObject(object data); public static void SetDataObject(object data, bool copy); }
Get .NET Windows Forms 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.