April 2002
Intermediate to advanced
688 pages
19h 51m
English
Clipboard.SetDataObject Method
System.Windows.Forms.Clipboard
SetDataObject(data)data (required; any)Data to place on the Clipboard
Places data on the Clipboard
The following example places text on the clipboard:
Dim s As String = "donna" clipboard.SetDataObject(s)
While the .NET Base Class Library uses the SetDataObject method to place all data on the Clipboard, the Clipboard object in VB 6 includes two methods, SetData and SetText, depending on the format of the data to be placed on the Clipboard.
Read now
Unlock full access