Clipboard.ClearHistory Clipboard.ClearHistory Clipboard.ClearHistory Clipboard.ClearHistory Clipboard.ClearHistory Method

Definition

Clears the clipboard history.

public : static Platform::Boolean ClearHistory()
static bool ClearHistory() const;
public static bool ClearHistory()
Public Shared Function ClearHistory() As bool
var bool = Windows.ApplicationModel.DataTransfer.Clipboard.clearHistory();

Returns

bool bool bool

True if the clear history operation was successful; otherwise, false.

Additional features and requirements

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