IDataObject.SetData Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

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

Parameters

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
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: