Delen via


ClipboardContentOptions.HistoryFormats Property

Definition

Gets the list of data formats supported in the clipboard history for the content being added to the clipboard.

public:
 property IVector<Platform::String ^> ^ HistoryFormats { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> HistoryFormats();
public IList<string> HistoryFormats { get; }
var iVector = clipboardContentOptions.historyFormats;
Public ReadOnly Property HistoryFormats As IList(Of String)

Property Value

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

The list of data formats supported in the clipboard history for the content being added to the clipboard. We recommend that you add data formats to this list by using the static properties of the StandardDataFormats class.

Remarks

If this property is an empty list, then all data formats are eligible for clipboard history.

This property is ignored if the clipboard data does not get added to clipboard history.

Applies to