CultureInfo.InstalledUICulture 属性

定义

获取表示操作系统中安装的区域性的 CultureInfoGets the CultureInfo that represents the culture installed with the operating system.

public:
 static property System::Globalization::CultureInfo ^ InstalledUICulture { System::Globalization::CultureInfo ^ get(); };
public static System.Globalization.CultureInfo InstalledUICulture { get; }
member this.InstalledUICulture : System.Globalization.CultureInfo
Public Shared ReadOnly Property InstalledUICulture As CultureInfo

属性值

表示操作系统中安装的区域性的 CultureInfoThe CultureInfo that represents the culture installed with the operating system.

注解

在已本地化的操作系统(例如,日语版本的 Windows)中,此属性返回操作系统的区域性。In a localized operating system, such as a Japanese edition of Windows, this property returns the culture of the operating system. 此属性等效于 Windows API 中的 GetSystemDefaultUILanguageThis property is the equivalent of GetSystemDefaultUILanguage in the Windows API.

适用于

另请参阅