共用方式為


AITranslationTextModelFactory.TransliteratedText(String, String) Method

Definition

Initializes a new instance of TransliteratedText.

public static Azure.AI.Translation.Text.TransliteratedText TransliteratedText (string text = default, string script = default);
static member TransliteratedText : string * string -> Azure.AI.Translation.Text.TransliteratedText
Public Shared Function TransliteratedText (Optional text As String = Nothing, Optional script As String = Nothing) As TransliteratedText

Parameters

text
String

A string which is the result of converting the input string to the output script.

script
String

A string specifying the script used in the output.

Returns

A new TransliteratedText instance for mocking.

Applies to