Method ContainsData
ContainsData(string)
Indicates whether there is data on the Clipboard that is in the specified format or can be converted to that format.
public static bool ContainsData(string format)
Parameters
format
stringThe format of the data to look for. See DataFormats for predefined formats.