Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Method

Definition

Sets an item in the clipboard history as the current content for the clipboard.

public : static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem item)
static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem item) const;
public static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem item)
Public Shared Function SetHistoryItemAsContent(item As ClipboardHistoryItem) As SetHistoryItemAsContentStatus
var setHistoryItemAsContentStatus = Windows.ApplicationModel.DataTransfer.Clipboard.setHistoryItemAsContent(item);

Parameters

item
ClipboardHistoryItem ClipboardHistoryItem ClipboardHistoryItem

The item in the clipboard history to set as the current content for the clipboard.

Returns

Additional features and requirements

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