Edit

ClipboardHelper Class

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The ClipboardHelper class provides methods for interacting with the clipboard. It allows you to get and set text and RTF (Rich Text Format) data on the clipboard. This is useful for applications that need to manipulate clipboard data, such as copying and pasting formatted text.

Methods

Method Description
GetText() Gets the text data from the clipboard.
SetRtf(String, String) Sets the RTF data on the clipboard.
SetText(String) Sets the text data on the clipboard.