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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.