TranslationGlossary Class
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.
Glossary / translation memory for the request.
public class TranslationGlossary : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Document.TranslationGlossary>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Document.TranslationGlossary>
type TranslationGlossary = class
interface IJsonModel<TranslationGlossary>
interface IPersistableModel<TranslationGlossary>
Public Class TranslationGlossary
Implements IJsonModel(Of TranslationGlossary), IPersistableModel(Of TranslationGlossary)
- Inheritance
-
TranslationGlossary
- Implements
Constructors
TranslationGlossary(Uri, String) |
Initializes a new instance of TranslationGlossary. |
Properties
Format |
Format of the glossary file. To see supported formats, use the GetSupportedFormatsAsync(Nullable<FileFormatType>, CancellationToken) client method. |
FormatVersion |
Optional file format version. If not specified, the service will use the DefaultFormatVersion for the file format returned from the GetSupportedFormatsAsync(Nullable<FileFormatType>, CancellationToken) client method. |
GlossaryUri |
Location of the glossary file. This should be a SAS URL to the glossary file in the storage blob container. If the translation language pair is not present in the glossary, it will not be applied. |
StorageSource |
Storage Source. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<TranslationGlossary>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TranslationGlossary>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TranslationGlossary>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TranslationGlossary>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TranslationGlossary>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET