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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET