Clipboard.Flush Clipboard.Flush Clipboard.Flush Clipboard.Flush Clipboard.Flush Method

Definition

Adds the content to the Clipboard and releases the DataPackage object from the source app. This method allows the content to remain available after the application shuts down.

public : static void Flush()
static void Flush() const;
public static void Flush()
Public Shared Sub Flush()
Windows.ApplicationModel.DataTransfer.Clipboard.flush();

Remarks

When you call the Flush method, the content of the DataPackage is added to the Clipboard and then released from the source app. This action makes the content available on the Clipboard even after the source app is no longer available.