DictionaryExampleTextItem(String, String) Constructor
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 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
Azure SDK for .NET