Gets a list of all formats that data stored in this instance is associated with or can be converted to.
[Visual Basic] Overloads Function GetFormats() As String () [C#] string[] GetFormats(); [C++] String* GetFormats() [] = 0; [JScript] function GetFormats() : String[];
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 GetData. See DataFormats for the predefined formats.
Note Data can be converted to another format if it was stored specifying that conversion is allowed, and if the requested format is compatable with the stored format. For example, data stored as Unicode can be converted to text.
For an implementation of this method, see GetFormats.
IDataObject Interface | IDataObject Members | System.WinForms Namespace | IDataObject.GetFormats Overload List | GetFormats | GetData