CultureAndRegionInfoBuilder.KeyboardLayoutId Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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