ICultureInfoClass.Current

Syntax

Current: ICultureInfo;

Description

The Current property returns culture of the current application stream.

Comments

This property returns the language and regional parameters, which were determined in operating system regional settings on Foresight  Analytics Platform start. The current language and regional parameters used in operating system can be obtained in the UserDefault property.

Example

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

On executing the example the console window displays the name of the country and the language.

See also:

ICultureInfoClass