Share via


DocumentTranslateContent Constructors

Definition

Overloads

DocumentTranslateContent(MultipartFormFileData)

Initializes a new instance of DocumentTranslateContent.

DocumentTranslateContent(MultipartFormFileData, IList<MultipartFormFileData>)

Initializes a new instance of DocumentTranslateContent.

DocumentTranslateContent(MultipartFormFileData)

Source:
DocumentTranslateContent.cs
Source:
DocumentTranslateContent.cs

Initializes a new instance of DocumentTranslateContent.

public DocumentTranslateContent (Azure.AI.Translation.Document.MultipartFormFileData document);
new Azure.AI.Translation.Document.DocumentTranslateContent : Azure.AI.Translation.Document.MultipartFormFileData -> Azure.AI.Translation.Document.DocumentTranslateContent
Public Sub New (document As MultipartFormFileData)

Parameters

document
MultipartFormFileData

Document to be translated in the form.

Exceptions

document is null.

Applies to

DocumentTranslateContent(MultipartFormFileData, IList<MultipartFormFileData>)

Source:
DocumentTranslateContent.cs

Initializes a new instance of DocumentTranslateContent.

public DocumentTranslateContent (Azure.AI.Translation.Document.MultipartFormFileData document, System.Collections.Generic.IList<Azure.AI.Translation.Document.MultipartFormFileData> glossaries);
new Azure.AI.Translation.Document.DocumentTranslateContent : Azure.AI.Translation.Document.MultipartFormFileData * System.Collections.Generic.IList<Azure.AI.Translation.Document.MultipartFormFileData> -> Azure.AI.Translation.Document.DocumentTranslateContent
Public Sub New (document As MultipartFormFileData, glossaries As IList(Of MultipartFormFileData))

Parameters

document
MultipartFormFileData

Document to be translated in the form.

glossaries
IList<MultipartFormFileData>

List of glossaries to be used during translation in the form.

Applies to