LanguageFontGroup(String) Constructor
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.
Creates a LanguageFontGroup object for a given language or script.
public:
LanguageFontGroup(Platform::String ^ languageTag);
LanguageFontGroup(winrt::hstring const& languageTag);
public LanguageFontGroup(string languageTag);
function LanguageFontGroup(languageTag)
Public Sub New (languageTag As String)
Parameters
- languageTag
-
String
Platform::String
winrt::hstring
Remarks
The languageTag parameter can be any valid BCP-47 language tag, such as "en", "de-CH", or "zh-Hans". The only limitations are that the language tag must include an explicit script subtag or be for a language for which the script is implicitly known. (For instance, "en" is assumed to imply Latin script.) Moreover, the script must be one that Windows supports.
The languageTag parameter can also be a valid ISO 15924 script identifier, such as "Latn", "Cyrl", or "Deva". The only limitation is that the script must be one that Windows supports.
Note
If your app passes language tags used in this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.