Clipboard.SetHistoryItemAsContent(ClipboardHistoryItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets an item in the clipboard history as the current content for the clipboard.
public:
static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem ^ item);
static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem const& item);
public static SetHistoryItemAsContentStatus SetHistoryItemAsContent(ClipboardHistoryItem item);
function setHistoryItemAsContent(item)
Public Shared Function SetHistoryItemAsContent (item As ClipboardHistoryItem) As SetHistoryItemAsContentStatus
Parameters
- item
- ClipboardHistoryItem
The item in the clipboard history to set as the current content for the clipboard.
Returns
The status of the operation.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|