Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 24. Clip, Drag, and Drop > The Tiny (But Powerful) Clipboard Class

24.2. The Tiny (But Powerful) Clipboard Class

The Clipboard class is part of the System.Windows.Forms namespace. The class is sealed and has no public constructors. You can't instantiate it, and you can't inherit from it. The class has no properties and just two static methods, one of which comes in two versions. You use these methods to set data to the clipboard or get data out:

Table 24-1. Clipboard Static Methods
void SetDataObject(object obj)
void SetDataObject(object obj, bool bRemainAfterExit)
IDataObject GetDataObject()



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint