Method GetDataObjectAsync
GetDataObjectAsync()
Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard. Operation is performed asynchroniously.
public static Task<IDataObject?> GetDataObjectAsync()
Returns
GetDataObjectAsync(Action<IDataObject?>)
Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard. Operation is performed asynchroniously.
public static void GetDataObjectAsync(Action<IDataObject?> action)
Parameters
action
Action<IDataObject>Action to call after operation is completed.