다음을 통해 공유


LanguageScript Class

Definition

Common properties of language script.

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

Properties

Code

Code identifying the script.

Directionality

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

Name

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

NativeName

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

Explicit Interface Implementations

IJsonModel<LanguageScript>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LanguageScript>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LanguageScript>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LanguageScript>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LanguageScript>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to