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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för