Share via


My.Computer.Info.InstalledUICulture Property

Gets the current UI culture installed with the operating system.

' Usage
Dim value As System.Globalization.CultureInfo = My.Computer.Info.InstalledUICulture
' Declaration
Public ReadOnly Property InstalledUICulture As System.Globalization.CultureInfo

Property Value

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

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.

Example

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)

Requirements

Namespace:Microsoft.VisualBasic.Devices

Class:ComputerInfo

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

Availability by Project Type

Project type

Available

Windows Application

Yes

Class Library

Yes

Console Application

Yes

Windows Control Library

Yes

Web Control Library

Yes

Windows Service

Yes

Web Site

Yes

Permissions

No permissions are required.

See Also

Reference

My.Computer.Info Object

System.Globalization.CultureInfo

ComputerInfo.InstalledUICulture