DocumentTranslationModelFactory.DocumentTranslationInput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.