Compartir a través de


SourceDictionaryLanguage Class

Definition

Properties ot the source dictionary language.

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

Properties

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.

Translations

List of languages with alterative translations and examples for the query expressed in the source language.

Explicit Interface Implementations

IJsonModel<SourceDictionaryLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceDictionaryLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceDictionaryLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceDictionaryLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceDictionaryLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to