KeyboardLayoutId Property

CultureAndRegionInfoBuilder.KeyboardLayoutId Property

 

Gets or sets the active input locale identifier.

Namespace:   System.Globalization
Assembly:  sysglobl (in sysglobl.dll)

public int KeyboardLayoutId { get; set; }

Property Value

Type: System.Int32

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

Exception Condition
ArgumentOutOfRangeException

In a set operation, the value is zero.

The KeyboardLayoutId property corresponds to the KeyboardLayoutId property.

The input locale identifier was formerly called the keyboard layout. The identifier can be used for a speech-to-text converter, an Input Method Editor (IME), or any other form of input.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft