Method SetData
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.
void SetData(string format, object data)Parameters
- formatstring
- A string that specifies what format to store the data in. See the DataFormats class for a set of pre-defined data formats. 
- dataobject
- The data to store in this data object. 
SetData(object)
Stores the specified data in this data object, automatically converting the data format from the source object type.
void SetData(object data)Parameters
- dataobject
- The data to store in this data object.