Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TranslatorLibrary.TranslatorLibrary(string, string) Constructor

Bing

The TranslatorLibrary Constructor function creates an instance of the TranslatorLibrary Class.

Published date: October 21, 2013

public TranslatorLibrary(string clientID, string clientSecret)

Parameters

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.

The following example initializes a TranslatorLibrary instance.

// Initialize a TranslatorLibrary instance.
var translatorApi = Bing.Translator.TranslatorLibrary("CLIENTID", "CLIENTSECRET");

Minimum Supported Client

Windows 8.1

Required Extensions

Bing Translator Control

Namespace

Bing.Translator

Show:
© 2015 Microsoft