SetData Method (Object)
Collapse the table of content
Expand the table of content

IDataObject.SetData Method (Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Sub SetData ( _
	data As Object _
)

Parameters

data
Type: System.Object
The data to store in this data object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft