Clipboard.GetHistoryItemsAsync Method

Definition

Gets the list of items currently in the clipboard history.

public:
 static IAsyncOperation<ClipboardHistoryItemsResult ^> ^ GetHistoryItemsAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ClipboardHistoryItemsResult> GetHistoryItemsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ClipboardHistoryItemsResult> GetHistoryItemsAsync();
function getHistoryItemsAsync()
Public Shared Function GetHistoryItemsAsync () As IAsyncOperation(Of ClipboardHistoryItemsResult)

Returns

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

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to