IDataObject.SetData Method (Object)


Stores the specified data in this data object, automatically converting the data format from the source object type.

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

[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard = UIPermissionClipboard.AllClipboard)]
void SetData(
	object data


Type: System.Object

The data to store in this data object.

For an implementation of this method, see SetData.

.NET Framework
Available since 3.0
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft