ICultureInfoClass.Specific

Syntax

Specific(LCID: Integer): ICultureInfo;

Parameters

LCID. Identifier of the culture, which settings must be obtained.

Description

The Specific property returns settings of the culture, which identifier is passed as the LCID input parameter.

Comments

Determine one of the LocaleCodeID enumeration values as the LCID parameter value.

Example

Sub UserProc;
Var
    CF: ICultureInfo;
Begin
    CF := CultureInfo.Specific(LocaleCodeID.Czech);
    Debug.WriteLine(CF.NativeCountry);
    Debug.WriteLine(CF.NativeLanguage);
End Sub UserProc;

On executing the example the settings for Czech culture will be obtained. The name of culture and language of the culture will be displayed in the development environment console in Czech.

See also:

ICultureInfoClass | LocaleCodeID