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.
Applies to
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.