CultureInfo.Create

Syntax

Create(LCID: Integer);

Parameters

LCID. Language and regional parameters identifier. One of the values of the LocaleCodeID enumeration is specified as value of the parameter.

Description

The Create constructor initializes regional and language settings, which identifier is passed as the LCID input parameter.

Example

Sub UserProc;
Var
    CF: ICultureInfo;
Begin
    CF := New CultureInfo.Create(LocaleCodeID.English_UnitedStates);
    Debug.WriteLine(CF.Language);
End Sub UserProc;

After executing the example the development environment console displays language name of the specified culture.

See also:

CultureInfo | LocaleCodeID