System.Windows.Forms.InputLanguage.FromCulture Method

Returns the input language associated with the specified culture.

Syntax

public static InputLanguage FromCulture (System.Globalization.CultureInfo culture)

Parameters

culture
The System.Globalization.CultureInfo that specifies the culture to convert from.

Returns

An System.Windows.Forms.InputLanguage that represents the previously selected input language.

Remarks

The InputLanguage.FromCulture(System.Globalization.CultureInfo) method selects from among installed keyboards. Specifically, this method performs the following operations:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]
Note:

The InputLanguage.FromCulture(System.Globalization.CultureInfo) method never tries to load or install an additional keyboard if one has not already been installed for culture. Use the Platform SDK function, LoadKeyboardLayout, to install an additional keyboard.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0