Clipboard.GetHistoryItemsAsync Clipboard.GetHistoryItemsAsync Clipboard.GetHistoryItemsAsync Clipboard.GetHistoryItemsAsync Clipboard.GetHistoryItemsAsync Method

Definition

Gets the list of items currently in the clipboard history.

public : static IAsyncOperation<ClipboardHistoryItemsResult> GetHistoryItemsAsync()
static IAsyncOperation<ClipboardHistoryItemsResult> GetHistoryItemsAsync() const;
public static IAsyncOperation<ClipboardHistoryItemsResult> GetHistoryItemsAsync()
Public Shared Function GetHistoryItemsAsync() As IAsyncOperation(Of ClipboardHistoryItemsResult)
Windows.ApplicationModel.DataTransfer.Clipboard.getHistoryItemsAsync().done( /* Your success and error handlers */ );

Returns

An asynchronous operation that, on successful completion, returns a ClipboardHistoryItemsResult object that contains the items currently in the clipboard history.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)