CLanguage.SetLanguage

Sets the API's display language. Errors and warnings returned by the Synthesis repository to the API will be displayed in the specified language. (VB.NET only)

Syntax
SynthesisAPI.SetLanguage(Language)

Parameters
Language
 * Required. The display language. Can be any Language constant.

Example
The following example returns an error message in Portuguese.

VB.NET SynthesisAPI.SetLanguage(SynthesisAPI.Language.Portuguese) MyRepository Repository m cModel MyRepository.ConnectToAccessRepository m = MyRepository.Model.GetModel(47)