다음을 통해 공유


DocumentTranslateContent Class

Definition

Document Translate Request Content.

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

Constructors

DocumentTranslateContent(MultipartFormFileData, IList<MultipartFormFileData>)

Initializes a new instance of DocumentTranslateContent.

DocumentTranslateContent(MultipartFormFileData)

Initializes a new instance of DocumentTranslateContent.

Properties

MultipartDocument

Document to be translated in the form.

MultipartGlossary

Glossary-translation memory will be used during translation in the form.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DocumentTranslateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentTranslateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentTranslateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentTranslateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentTranslateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to