共用方式為


Clipboard.GetTextAsync 方法

定義

傳回剪貼簿上的任何文字。

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)

傳回

剪貼簿上的文字內容,如果沒有 null ,則為 。

適用於