Share via


TranslationGlossary(Uri, String) Constructor

Definition

Initializes a new instance of TranslationGlossary.

public TranslationGlossary (Uri glossaryUri, string format);
new Azure.AI.Translation.Document.TranslationGlossary : Uri * string -> Azure.AI.Translation.Document.TranslationGlossary
Public Sub New (glossaryUri As Uri, format As String)

Parameters

glossaryUri
Uri

Location of the glossary. We will use the file extension to extract the formatting if the format parameter is not supplied.

If the translation language pair is not present in the glossary, it will not be applied

format
String

Format.

Exceptions

glossaryUri or format is null.

Applies to