Common.SetLanguage: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|Common Class|Common}}  
{{Template:APIClass|Common Class|Common}}  
 
Sets the language for the whole library.
=== Syntax===
=== Syntax===


Line 11: Line 11:
:{{APIName|RSLicense8Localization.ChangeLanguage(CType(language, RSLicense8Localization.Language))}}
:{{APIName|RSLicense8Localization.ChangeLanguage(CType(language, RSLicense8Localization.Language))}}
:{{APIName|RSLocalization.ChangeLanguage(CType(language, RSLocalization.Language))}}
:{{APIName|RSLocalization.ChangeLanguage(CType(language, RSLocalization.Language))}}
{{APIComment|Sets the language for the whole library. It cannot be set separately for a different instances of classes.}}

Revision as of 19:21, 23 September 2013


Sets the language for the whole library.

Syntax

Public Sub SetLanguage( ByVal language As Language)

RSLicense8Localization.ChangeLanguage(CType(language, RSLicense8Localization.Language))
RSLocalization.ChangeLanguage(CType(language, RSLocalization.Language))

Sets the language for the whole library. It cannot be set separately for a different instances of classes.