Share via


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();
public static void Flush();
function flush()
Public Shared Sub 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.

Applies to