ICultureInfo.Country

Syntax

Country: String;

Description

The Country property returns the name of the country in English.

Example

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

On executing the example the current culture determined in the operating system will be obtained. The development environment console displays three names of the country, to which the culture corresponds: country name in English, in the language of installed the .NET Framework installed version and in the language of the culture display.

See also:

ICultureInfo