Interface IDataObject
Provides a format-independent mechanism for transferring data.
public interface IDataObjectMethods
- GetData(string)
- Retrieves a data object in a specified format; the data format is specified by a string. 
- GetDataPresent(string)
- Determines whether data stored in this instance is associated with, or can be converted to, the specified format. 
- GetFormats()
- Returns a list of all formats that data stored in this instance is associated with or can be converted to. 
- HasFormat(ClipboardDataFormatId)
- Indicates whether there is data on the Clipboard that is in the specified format. 
- HasFormat(string)
- Indicates whether there is data on the Clipboard that is in the specified format. 
- 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.