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.
An array of the names that represents a list of all formats that are supported by the data stored in this object.
Call this method to get the supported data formats before calling the IDataObject.GetData(string, bool) method. See the System.Windows.Forms.DataFormats class for the predefined formats.
Data can be converted to another format if it was stored specifying that conversion is allowed, and if the requested format is compatible with the stored format. For example, data stored as Unicode can be converted to text.
For an implementation of this method, see DataObject.GetFormats(bool).