Clipboard.GetTextAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns any text that is on the clipboard.
public:
static System::Threading::Tasks::Task<System::String ^> ^ GetTextAsync();
public static System.Threading.Tasks.Task<string?> GetTextAsync();
static member GetTextAsync : unit -> System.Threading.Tasks.Task<string>
Public Shared Function GetTextAsync () As Task(Of String)
Returns
Text content that is on the clipboard, or null if there is none.