CultureInfo.KeyboardLayoutId Property


Gets the active input locale identifier.

 virtual property int KeyboardLayoutId { int get(); };
public virtual int KeyboardLayoutId { get; }
public virtual int KeyboardLayoutId { get; }
member this.KeyboardLayoutId : int
member this.KeyboardLayoutId : int
Public Overridable ReadOnly Property KeyboardLayoutId As Integer

Property Value

A 32-bit signed number that specifies an input locale identifier.



The input locale identifier was formerly called the keyboard layout. An input locale identifier is a broader concept than a keyboard layout since it can also indicate a speech-to-text converter, an Input Method Editor (IME), or any other form of input.

Applies to