TranslationResult Class
The TranslationResult Class contains the result of a translation by the TranslatorLibrary.TranslateAsync(string, string, string, string) Method.
Published date: October 21, 2013
The TranslationResult class has the following members.
Name | Description |
|---|---|
A string representing the translated text. | |
An ErrorCode enumeration value containing the result code of the TranslateAsync(string, string, string, string) request. |
If you previously used the AddTranslation or AddTranslationArray methods through the public Translator API to enter a translation with a rating of 5 or higher for the same source sentence, Translate returns only the top choice that is available to your system. The "same source sentence" means the exact same (100% matching), except for capitalization, white space, tag values, and punctuation at the end of a sentence. If no rating is stored with a rating of 5 or above, then the returned result will be the automatic translation by Microsoft Translator.
Requirements
Minimum Supported Client | Windows 8.1 |
Required Extensions | Bing Translator Control |
Namespace |