Method GetData
GetData(string)
Retrieves data from the Clipboard in the specified format.
public static object? GetData(string format)Parameters
- formatstring
- The format of the data to retrieve. See DataFormats for predefined formats. 
Returns
- object
- An Object representing the Clipboard data or null if the Clipboard does not contain any data that is in the specified format or can be converted to that format.