TranslatorLibrary.TranslatorLibrary(string, string) Constructor
Bing
The TranslatorLibrary Constructor function creates an instance of the TranslatorLibrary Class.
Published date: October 21, 2013
clientId
The Client ID for Azure Data Market authentication.
clientSecret
The Client secret for Azure Data Market authentication.
The TranslatorControl creates the TranslatorLibarary in its constructor function and keeps the ClientID and ClientSecret values up to date, so there is rarely a need to call this constructor directly.
Example
The following example initializes a TranslatorLibrary instance.
// Initialize a TranslatorLibrary instance. var translatorApi = Bing.Translator.TranslatorLibrary("CLIENTID", "CLIENTSECRET");
Requirements
Minimum Supported Client | Windows 8.1 |
Required Extensions | Bing Translator Control |
Namespace |
Show: