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 GetText method retrieves the text data from the clipboard. This is useful for applications that need to access clipboard data, such as pasting text into a text box or other UI element.
Returns
A String that represents the text data retrieved from the clipboard. This can be any string value, including plain text or formatted text. If the clipboard does not contain text data, this method may return an empty string or null.
Windows developer