System.Windows.Forms.IDataObject Members

The members of System.Windows.Forms.IDataObject are listed below.

Public Methods

GetData(string) : object

Retrieves the data associated with the specified data format.

GetData(Type) : object

Retrieves the data associated with the specified class type format.

GetData(string, bool) : object

Retrieves the data associated with the specified data format, using a Boolean to determine whether to convert the data to the format.

GetDataPresent(string) : bool

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

GetDataPresent(Type) : bool

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

GetDataPresent(string, bool) : bool

Determines whether data stored in this instance is associated with the specified format, using a Boolean value to determine whether to convert the data to the format.

GetFormats() : string[]

Returns a list of all formats that data stored in this instance is associated with or can be converted to.

GetFormats(bool) : string[]

Gets a list of all formats that data stored in this instance is associated with or can be converted to, using a Boolean value to determine whether to retrieve all formats that the data can be converted to or only native data formats.

SetData(object)

Stores the specified data in this instance, using the class of the data for the format.

SetData(string, object)

Stores the specified data and its associated format in this instance.

SetData(Type, object)

Stores the specified data and its associated class type in this instance.

SetData(string, bool, object)

Stores the specified data and its associated format in this instance, using a Boolean value to specify whether the data can be converted to another format.