Share via


TransliterationLanguage Class

Definition

The value of the transliteration property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag. A key identifies a language for which text can be converted from one script to another script.

public class TransliterationLanguage : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Text.TransliterationLanguage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Text.TransliterationLanguage>
type TransliterationLanguage = class
    interface IJsonModel<TransliterationLanguage>
    interface IPersistableModel<TransliterationLanguage>
Public Class TransliterationLanguage
Implements IJsonModel(Of TransliterationLanguage), IPersistableModel(Of TransliterationLanguage)
Inheritance
TransliterationLanguage
Implements

Properties

Name Description
Name

Display name of the language in the locale requested via Accept-Language header.

NativeName

Display name of the language in the locale native for this language.

Scripts

List of scripts to convert from.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TransliterationLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TransliterationLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TransliterationLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TransliterationLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

<param name="options">The ModelReaderWriterOptions to use.</param>
IPersistableModel<TransliterationLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to