DataObject.SetData Method

Stores the specified data in this data object.

Name Description
DataObject.SetData (Object) Stores the specified data in this data object, automatically determining the data format from the source object type.
DataObject.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.
DataObject.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 object.
DataObject.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 can be converted to another format on retrieval.
Show: