Idioma

TextRewriter.RewriteAsync Método

Definição

Sobrecargas

Nome Description
RewriteAsync(String)

Reescreve o texto fornecido no tom padrão .

RewriteAsync(String, TextRewriteTone)

Reescreve o texto fornecido no tom especificado.

RewriteAsync(String)

Reescreve o texto fornecido no tom padrão .

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

O texto a ser reescrito.

Retornos

O texto reescrito no tom padrão .

Aplica-se a

RewriteAsync(String, TextRewriteTone)

Reescreve o texto fornecido no tom 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

O texto a ser reescrito.

tone
TextRewriteTone

O tom no qual reescrever o texto.

Retornos

O texto reescrito no tom especificado.

Aplica-se a