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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET