Condividi tramite


TargetDictionaryLanguage Class

Definition

Properties of the target dictionary language.

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

Properties

Code

Language code identifying the target language.

Dir

Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.

Directionality

Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.

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.

Explicit Interface Implementations

IJsonModel<TargetDictionaryLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetDictionaryLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetDictionaryLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetDictionaryLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetDictionaryLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to