DictionaryExampleItem 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.
Dictionary Example element.
public class DictionaryExampleItem : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Text.DictionaryExampleItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Text.DictionaryExampleItem>
public class DictionaryExampleItem
type DictionaryExampleItem = class
interface IJsonModel<DictionaryExampleItem>
interface IPersistableModel<DictionaryExampleItem>
type DictionaryExampleItem = class
Public Class DictionaryExampleItem
Implements IJsonModel(Of DictionaryExampleItem), IPersistableModel(Of DictionaryExampleItem)
Public Class DictionaryExampleItem
- Inheritance
-
DictionaryExampleItem
- Implements
Properties
Examples |
A list of examples for the (source term, target term) pair. |
NormalizedSource |
A string giving the normalized form of the source term. Generally, this should be identical to the value of the Text field at the matching list index in the body of the request. |
NormalizedTarget |
A string giving the normalized form of the target term. Generally, this should be identical to the value of the Translation field at the matching list index in the body of the request. |
Explicit Interface Implementations
IJsonModel<DictionaryExampleItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DictionaryExampleItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DictionaryExampleItem>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DictionaryExampleItem>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DictionaryExampleItem>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應