Udostępnij za pośrednictwem


DocumentTranslationModelFactory.DocumentTranslationInput Method

Definition

Initializes a new instance of DocumentTranslationInput.

public static Azure.AI.Translation.Document.DocumentTranslationInput DocumentTranslationInput (Azure.AI.Translation.Document.TranslationSource source = default, System.Collections.Generic.IEnumerable<Azure.AI.Translation.Document.TranslationTarget> targets = default, Azure.AI.Translation.Document.StorageInputUriKind? storageUriKind = default);
static member DocumentTranslationInput : Azure.AI.Translation.Document.TranslationSource * seq<Azure.AI.Translation.Document.TranslationTarget> * Nullable<Azure.AI.Translation.Document.StorageInputUriKind> -> Azure.AI.Translation.Document.DocumentTranslationInput
Public Shared Function DocumentTranslationInput (Optional source As TranslationSource = Nothing, Optional targets As IEnumerable(Of TranslationTarget) = Nothing, Optional storageUriKind As Nullable(Of StorageInputUriKind) = Nothing) As DocumentTranslationInput

Parameters

source
TranslationSource

Source of the input documents.

targets
IEnumerable<TranslationTarget>

Location of the destination for the output.

storageUriKind
Nullable<StorageInputUriKind>

Storage type of the input documents source string.

Returns

A new DocumentTranslationInput instance for mocking.

Applies to