Method HasFormat
HasFormat(ClipboardDataFormatId)
Indicates whether there is data on the Clipboard that is in the specified format.
public virtual bool HasFormat(ClipboardDataFormatId format)
Parameters
formatClipboardDataFormatIdThe format of the data to look for.
Returns
HasFormat(string)
Indicates whether there is data on the Clipboard that is in the specified format.
public virtual bool HasFormat(string format)
Parameters
formatstringThe format of the data to look for.
Returns
Remarks
This method is different from ContainsData(string) as it doesn't get data from the clipboard, it only checks for the format. This method works faster than ContainsData(string).