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
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