CultureInfo.KeyboardLayoutId 属性

定义

获取活动的输入区域设置标识符。Gets the active input locale identifier.

public:
 virtual property int KeyboardLayoutId { int get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public virtual int KeyboardLayoutId { get; }
member this.KeyboardLayoutId : int
Public Overridable ReadOnly Property KeyboardLayoutId As Integer

属性值

一个指定输入区域设置标识符的 32 位的有符号数字。A 32-bit signed number that specifies an input locale identifier.

属性

注解

输入法区域设置标识符以前称为键盘布局。The input locale identifier was formerly called the keyboard layout. 输入区域设置标识符是比键盘布局更广泛的概念,因为它还可以指示语音到文本转换器、输入法编辑器(IME)或任何其他形式的输入。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.

适用于