Clipboard.SetDataObject Method |
System.Windows.Forms.Clipboard
SetDataObject( data )
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.
Clipboard Class, Clipboard.GetDataObject Method, IDataObject Interface