SetDataObject Method

Clipboard.SetDataObject Method

 

Clears the Clipboard and then adds data to it.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSetDataObject(Object)

Clears the Clipboard and then places nonpersistent data on it.

System_CAPS_pubmethodSystem_CAPS_staticSetDataObject(Object, Boolean)

Clears the Clipboard and then places data on it and specifies whether the data should remain after the application exits.

System_CAPS_pubmethodSystem_CAPS_staticSetDataObject(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.

Return to top
Show:
© 2016 Microsoft