Provides static, predefined System.Windows.Forms.Clipboard format names. Use them to identify the format of data that you store in an System.Windows.Forms.IDataObject.
See Also: DataFormats Members
The System.Windows.Forms.IDataObject and System.Windows.Forms.DataObject classes also use the static format list to determine the type of data that is retrieved from the system System.Windows.Forms.Clipboard, or that is transferred in a drag-and-drop operation.
The DataFormats.GetFormat(string) method allows you to:
Get a predefined System.Windows.Forms.DataFormats.Format object for a format name or ID number.
Add a new format name/ID number pair to the static list in this class, and to register the format with the Windows registry as a System.Windows.Forms.Clipboard format when you pass it the format name.
You can get the System.Windows.Forms.DataFormats.Format.Id number or format System.Windows.Forms.DataFormats.Format.Name from the appropriate property in the System.Windows.Forms.DataFormats.Format instance.