Platform SDK: CDO 1.2.1 |
The LCID property returns the locale identifier for the current messaging user. Read-only.
objRendApp.LCID
Long
A locale is the set of features of a messaging user’s environment that are dependent on language, country, culture, and conventions. These features include the character selection, the collating sequence and sort order, and the date, time, and currency formats. The character selection can be changed by setting the CodePage property.
A locale identifier (LCID) is a 32-bit value containing a 16-bit language identifier and a 4-bit sort identifier. The Microsoft® Windows NT® macros SORTIDFROMLCID and LANGIDFROMLCID can be used to extract these identifiers from the LCID.
The LCID property is set automatically when you set the CodePage property.
The settings of CodePage and LCID do not affect the locale settings of any Session object. Each session has its own SetLocaleIDs method.