TextRewriter.RewriteAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| RewriteAsync(String) |
既定のトーンで指定されたテキストを書き換えます。 |
| RewriteAsync(String, TextRewriteTone) |
指定したトーンで指定されたテキストを書き換えます。 |
RewriteAsync(String)
public:
virtual IAsyncOperationWithProgress<LanguageModelResponseResult ^, Platform::String ^> ^ RewriteAsync(Platform::String ^ text) = RewriteAsync;
IAsyncOperationWithProgress<LanguageModelResponseResult, winrt::hstring const&> RewriteAsync(winrt::hstring const& text);
public IAsyncOperationWithProgress<LanguageModelResponseResult,string> RewriteAsync(string text);
function rewriteAsync(text)
Public Function RewriteAsync (text As String) As IAsyncOperationWithProgress(Of LanguageModelResponseResult, String)
パラメーター
- text
-
String
Platform::String
winrt::hstring
書き換えるテキスト。
返品
IAsyncOperationWithProgress<LanguageModelResponseResult,String>
IAsyncOperationWithProgress<LanguageModelResponseResult,Platform::String>
IAsyncOperationWithProgress<LanguageModelResponseResult,winrt::hstring>
既定のトーンで書き換えられたテキスト。
適用対象
RewriteAsync(String, TextRewriteTone)
指定したトーンで指定されたテキストを書き換えます。
public:
virtual IAsyncOperationWithProgress<LanguageModelResponseResult ^, Platform::String ^> ^ RewriteAsync(Platform::String ^ text, TextRewriteTone tone) = RewriteAsync;
IAsyncOperationWithProgress<LanguageModelResponseResult, winrt::hstring const&> RewriteAsync(winrt::hstring const& text, TextRewriteTone const& tone);
public IAsyncOperationWithProgress<LanguageModelResponseResult,string> RewriteAsync(string text, TextRewriteTone tone);
function rewriteAsync(text, tone)
Public Function RewriteAsync (text As String, tone As TextRewriteTone) As IAsyncOperationWithProgress(Of LanguageModelResponseResult, String)
パラメーター
- text
-
String
Platform::String
winrt::hstring
書き換えるテキスト。
- tone
- TextRewriteTone
テキストを書き換えるトーン。
返品
IAsyncOperationWithProgress<LanguageModelResponseResult,String>
IAsyncOperationWithProgress<LanguageModelResponseResult,Platform::String>
IAsyncOperationWithProgress<LanguageModelResponseResult,winrt::hstring>
指定したトーンの書き換えられたテキスト。