InputLanguage.InstalledInputLanguages Property

Gets a list of all installed input languages.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in

public static InputLanguageCollection InstalledInputLanguages { get; }
/** @property */
public static InputLanguageCollection get_InstalledInputLanguages ()

public static function get InstalledInputLanguages () : InputLanguageCollection

Property Value

An array of InputLanguage objects that represent the input languages installed on the computer.

The following code example retrieves all the input languages installed on the computer and displays their names. The code calls InstalledInputLanguages to get the installed languages. A text box displays the list of language names.

This code assumes that textBox1 has been instantiated and that textBox1.MultiLine has been set to true.

public void GetLanguages() {
   // Gets the list of installed languages.
   foreach(InputLanguage lang in InputLanguage.InstalledInputLanguages) {
      textBox1.Text += lang.Culture.EnglishName + '\n';

public void GetLanguages()
    // Gets the list of installed languages.
    IEnumerator objEnum =
    while (objEnum.MoveNext()) {
        InputLanguage lang = (InputLanguage)objEnum.get_Current();
            + lang.get_Culture().get_EnglishName() + '\n');
} //GetLanguages

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0