次の方法で共有


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 何も存在しない場合は 。

適用対象