InstalledUICulture Property

ComputerInfo.InstalledUICulture Property

 

Gets the current UI culture installed with the operating system.

Namespace:   Microsoft.VisualBasic.Devices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public CultureInfo InstalledUICulture { get; }

Property Value

Type: System.Globalization.CultureInfo

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

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.

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)

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft