Editare

Partajați prin


ComputerInfo.InstalledUICulture Property

Definition

Gets the current UI culture installed with the operating system.

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

Property Value

A CultureInfo object represents the UI culture installed on the computer.

Examples

This example uses the My.Computer.Info.InstalledUICulture property to display the name of the operating system's UI culture.

MsgBox("Computer's UI culture name: " & 
    My.Computer.Info.InstalledUICulture.DisplayName)

Remarks

The My.Computer.Info.InstalledUICulture property has the same behavior as the InstalledUICulture property.

In a localized operating system, such as Japanese Windows 2000 Professional, this property returns the culture of the operating system.

Applies to

See also