Language Class

A class that provides information related to BCP-47 language tags such as the language name and the script.

Syntax

public ref class Language sealed  

Remarks

Note

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

Initialize this class with a BCP-47 language tag. For example, to work with the best current user-preferred language, pass in the top value from Windows.System.UserProfile.GlobalizationPreferences:

Note

This class makes cross-OS calls. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Globalization

Metadata: windows.winmd

See also

Reference

Language Members

Windows.Globalization Namespace