次の方法で共有


DictionaryExampleTextItem(String, String) Constructor

Definition

Initializes a new instance of DictionaryExampleTextItem.

public DictionaryExampleTextItem (string text, string translation);
new Azure.AI.Translation.Text.DictionaryExampleTextItem : string * string -> Azure.AI.Translation.Text.DictionaryExampleTextItem
Public Sub New (text As String, translation As String)

Parameters

text
String

Text to translate.

translation
String

A string specifying the translated text previously returned by the Dictionary lookup operation. This should be the value from the normalizedTarget field in the translations list of the Dictionary lookup response. The service will return examples for the specific source-target word-pair.

Exceptions

text or translation is null.

Applies to