IDataObject.SetData Method
.NET Framework 4
Stores the specified data in this data object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SetData(Object) | Stores the specified data in this data object, automatically converting the data format from the source object type. |
|
SetData(String, Object) | Stores the specified data in this data object, along with one or more specified data formats. The data format is specified by a string. |
|
SetData(Type, Object) | Stores the specified data in this data object, along with one or more specified data formats. The data format is specified by a Type class. |
|
SetData(String, Object, Boolean) | Stores the specified data in this data object, along with one or more specified data formats. This overload includes a Boolean flag to indicate whether the data may be converted to another format on retrieval. |