Desktop version

Main > Knowledge Base > 1C:Enterprise documentation > Add-in Development Technology > Creating add-ins with COM technology > Localization > 1C:Enterprise documentation > Add-in Development Technology > Creating add-ins with COM technology > Localization > 1C:Enterprise documentation > Add-in Development Technology > Creating add-ins with COM technology > Localization

Localization

SetLocale

Description:

1C:Enterprise calls this method to set add-in locale by locale code. The add-in can configure its environment to ensure correct data presentation.

Syntax:

HRESULT SetLocale(BSTR bstrLocale);

Parameters:

bstrLocale

Type: BSTR. Locale string in the following format: <language>-<REGION>. Example: en-US.

Return value:

Next page: Using COM VARIANT type in data exchange




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.