Поделиться через


TextAuthoringSupportedLanguage Class

Definition

Represents a supported language.

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

Properties

LanguageCode

The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc.

LanguageName

The language name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TextAuthoringSupportedLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextAuthoringSupportedLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TextAuthoringSupportedLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextAuthoringSupportedLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextAuthoringSupportedLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to