DocumentTranslationModelFactory.TranslationTarget 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 TranslationTarget.
public static Azure.AI.Translation.Document.TranslationTarget TranslationTarget (Uri targetUri = default, string categoryId = default, string languageCode = default, System.Collections.Generic.IEnumerable<Azure.AI.Translation.Document.TranslationGlossary> glossaries = default, Azure.AI.Translation.Document.TranslationStorageSource? storageSource = default);
static member TranslationTarget : Uri * string * string * seq<Azure.AI.Translation.Document.TranslationGlossary> * Nullable<Azure.AI.Translation.Document.TranslationStorageSource> -> Azure.AI.Translation.Document.TranslationTarget
Public Shared Function TranslationTarget (Optional targetUri As Uri = Nothing, Optional categoryId As String = Nothing, Optional languageCode As String = Nothing, Optional glossaries As IEnumerable(Of TranslationGlossary) = Nothing, Optional storageSource As Nullable(Of TranslationStorageSource) = Nothing) As TranslationTarget
Parameters
- targetUri
- Uri
Location of the folder / container with your documents.
- categoryId
- String
Category / custom system for translation request.
- languageCode
- String
Target Language.
- glossaries
- IEnumerable<TranslationGlossary>
List of Glossary.
- storageSource
- Nullable<TranslationStorageSource>
Storage Source.
Returns
A new TranslationTarget instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET