Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer