Method GetDataAsync
GetDataAsync()
Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard. Operation is performed asynchroniously.
Task<IDataObject?> GetDataAsync()
Returns
GetDataAsync(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.
void GetDataAsync(Action<IDataObject?> action)
Parameters
action
Action<IDataObject>Action to call after operation is completed.