DataObject.SetData Method

Adds an object to the DataObject.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework SetData(Object) Adds the specified object to the DataObject using the object type as the data format.
Public method Supported by the .NET Compact Framework SetData(String, Object) Adds the specified object to the DataObject using the specified format.
Public method Supported by the .NET Compact Framework SetData(Type, Object) Adds the specified object to the DataObject using the specified type as the format.
Public method Supported by the .NET Compact Framework 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft