Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Method

Definition

Deletes the specified item from the clipboard history.

public : static Platform::Boolean DeleteItemFromHistory(ClipboardHistoryItem item)
static bool DeleteItemFromHistory(ClipboardHistoryItem item) const;
public static bool DeleteItemFromHistory(ClipboardHistoryItem item)
Public Shared Function DeleteItemFromHistory(item As ClipboardHistoryItem) As bool
var bool = Windows.ApplicationModel.DataTransfer.Clipboard.deleteItemFromHistory(item);

Parameters

item
ClipboardHistoryItem ClipboardHistoryItem ClipboardHistoryItem

The item to remove from the clipboard history.

Returns

bool bool bool

True if the item was successfully removed from the clipboard history; otherwise, false.

Additional features and requirements

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