Language.TrySetInputMethodLanguageTag(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static bool TrySetInputMethodLanguageTag(Platform::String ^ languageTag);
static bool TrySetInputMethodLanguageTag(winrt::hstring const& languageTag);
public static bool TrySetInputMethodLanguageTag(string languageTag);
function trySetInputMethodLanguageTag(languageTag)
Public Shared Function TrySetInputMethodLanguageTag (languageTag As String) As Boolean
Parameters
Returns
bool
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.
Windows requirements
App capabilities |
systemManagement
|
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.