EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Language.CurrentInputMethodLanguageTag | currentInputMethodLanguageTag property

Gets the BCP-47 language tag for the currently enabled keyboard layout or Input Method Editor (IME).

Syntax


var currentInputMethodLanguageTag = Windows.Globalization.Language.currentInputMethodLanguageTag;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The BCP-47 language tag.

Remarks

If your app passes language tags from this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.winmd

See also

Language
BCP-47 language tags

 

 

Mostrar:
© 2015 Microsoft