Condividi tramite


TranslationTarget Class

Definition

Destination for the finished translated documents.

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

Constructors

TranslationTarget(Uri, String)

Initializes a new instance of TranslationTarget.

Properties

CategoryId

Category / custom model ID for using custom translation.

Glossaries

List of Glossary.

LanguageCode

Language code to translate documents to. For supported languages see .

StorageSource

Storage Source.

TargetUri

Location of the container with your documents. See the service documentation for the supported SAS permissions for accessing target storage containers/blobs: .

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TranslationTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TranslationTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TranslationTarget>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TranslationTarget>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TranslationTarget>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to