Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.04 KB

language_trysetinputmethodlanguagetag_1455010016.md

File metadata and controls

38 lines (22 loc) · 1.04 KB
-api-id -api-type
M:Windows.Globalization.Language.TrySetInputMethodLanguageTag(System.String)
winrt method

Windows.Globalization.Language.TrySetInputMethodLanguageTag

-description

Tries to set the normalized BCP-47 language tag of this language.

-parameters

-param languageTag

The normalized BCP-47 language tag.

-returns

true if the value is successfully set, otherwise false.

This method will only attempt to change the input language if the application is running on an IoT device. On non-IoT devices, the return value is always false.

-remarks

Language tags support the Unicode extensions "ca-" and "nu-". (See Unicode Key/Type Definitions.) Note that these extensions can affect the calendar used by Calendar objects.

-examples

-see-also

-capabilities

systemManagement