IClipboard.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:
System::Threading::Tasks::Task<System::String ^> ^ GetTextAsync();
public System.Threading.Tasks.Task<string?> GetTextAsync();
abstract member GetTextAsync : unit -> System.Threading.Tasks.Task<string>
Public Function GetTextAsync () As Task(Of String)
Returns
Text content that is on the clipboard, or null
if there is none.