Share via


Clipboard.Clear Method

Definition

Removes all data from the Clipboard.

public:
 static void Clear();
 static void Clear();
public static void Clear();
function clear()
Public Shared Sub Clear ()

Remarks

If the Clipboard cannot be cleared, the method throws an exception.

Applies to