ICultureInfoClass.UserDefault

Syntax

UserDefault: ICultureInfo;

Description

The UserDefault property returns settings of the culture used in the operating system.

Comments

The property returns the language and regional settings, which were set in operating system regional settings.

Example

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

On executing the example the development environment console window displays the name of the country and the language, which are set in operating system regional settings.

See also:

ICultureInfoClass