Clipboard::SetDataObject Method
.NET Framework (current version)
Clears the Clipboard and then adds data to it.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | SetDataObject(Object^) | Clears the Clipboard and then places nonpersistent data on it. |
![]() ![]() | SetDataObject(Object^, Boolean) | Clears the Clipboard and then places data on it and specifies whether the data should remain after the application exits. |
![]() ![]() | SetDataObject(Object^, Boolean, Int32, Int32) | Clears the Clipboard and then attempts to place data on it the specified number of times and with the specified delay between attempts, optionally leaving the data on the Clipboard after the application exits. |
Show:

