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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET