Lenguaje

TextRewriter.RewriteAsync Método

Definición

Sobrecargas

Nombre Description
RewriteAsync(String)

Vuelve a escribir el texto proporcionado en el tono predeterminado .

RewriteAsync(String, TextRewriteTone)

Reescribe el texto proporcionado en el tono especificado.

RewriteAsync(String)

Vuelve a escribir el texto proporcionado en el tono predeterminado .

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)

Parámetros

text
String

Platform::String

winrt::hstring

Texto que se va a reescribir.

Devoluciones

Texto reescrito en el tono predeterminado .

Se aplica a

RewriteAsync(String, TextRewriteTone)

Reescribe el texto proporcionado en el tono especificado.

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)

Parámetros

text
String

Platform::String

winrt::hstring

Texto que se va a reescribir.

tone
TextRewriteTone

Tono en el que se va a reescribir el texto.

Devoluciones

Texto reescrito en el tono especificado.

Se aplica a