CultureInfo.InstalledUICulture 屬性

定義

取得 CultureInfo,代表作業系統所安裝的文化特性。Gets 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

屬性值

CultureInfo

CultureInfo,代表作業系統所安裝的文化特性。The 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. 這個屬性相當於 GetSystemDefaultUILanguage WINDOWS API 中的。This property is the equivalent of GetSystemDefaultUILanguage in the Windows API.

適用於

另請參閱