This documentation is archived and is not being maintained.

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

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)

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

No permissions are required.

Show: