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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET