Returns a list of all formats that data stored in this System.Windows.Forms.DataObject is associated with or can be converted to, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.
- autoConvert
- true to retrieve all formats that data stored in this System.Windows.Forms.DataObject is associated with, or can be converted to; false to retrieve only native data formats.
An array of type string, containing 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 DataObject.GetData(string, bool). See System.Windows.Forms.DataFormats 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.