Share via


Clipboard.DeleteItemFromHistory(ClipboardHistoryItem) Method

Definition

Deletes the specified item from the clipboard history.

public:
 static bool DeleteItemFromHistory(ClipboardHistoryItem ^ item);
 static bool DeleteItemFromHistory(ClipboardHistoryItem const& item);
public static bool DeleteItemFromHistory(ClipboardHistoryItem item);
function deleteItemFromHistory(item)
Public Shared Function DeleteItemFromHistory (item As ClipboardHistoryItem) As Boolean

Parameters

item
ClipboardHistoryItem

The item to remove from the clipboard history.

Returns

Boolean

bool

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

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