Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetData Method

DataObject.SetData Method

Adds an object to the DataObject.

Name Description
DataObject.SetData (Object) Adds the specified object to the DataObject using the object type as the data format.

Supported by the .NET Compact Framework.

DataObject.SetData (String, Object) Adds the specified object to the DataObject using the specified format.

Supported by the .NET Compact Framework.

DataObject.SetData (Type, Object) Adds the specified object to the DataObject using the specified type as the format.

Supported by the .NET Compact Framework.

DataObject.SetData (String, Boolean, Object) Adds the specified object to the DataObject using the specified format and indicating whether the data can be converted to another format.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft