Language

TextRewriter.RewriteAsync メソッド

定義

オーバーロード

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

書き換えるテキスト。

返品

既定のトーンで書き換えられたテキスト。

適用対象

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

テキストを書き換えるトーン。

返品

指定したトーンの書き換えられたテキスト。

適用対象