Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 672 Bytes

File metadata and controls

21 lines (14 loc) · 672 Bytes
title ClipboardHelper.SetText(String) Method
description The SetText method sets the text data on the clipboard.
ms.date 2/19/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

ClipboardHelper.SetText(String) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The SetText method sets the text data on the clipboard. This is useful for applications that need to copy text to the clipboard for pasting into other applications.

Parameters

text String

The text to set on the clipboard. This can be any string value, including plain text or formatted text.