-api-id | -api-type |
---|---|
P:Windows.Globalization.DateTimeFormatting.DateTimeFormatter.Languages |
winrt property |
Gets the priority list of language identifiers that is used when formatting dates and times.
The list of languages that is used.
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.
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.
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.