Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.28 KB

datetimeformatter_languages.md

File metadata and controls

31 lines (19 loc) · 1.28 KB
-api-id -api-type
P:Windows.Globalization.DateTimeFormatting.DateTimeFormatter.Languages
winrt property

Windows.Globalization.DateTimeFormatting.DateTimeFormatter.Languages

-description

Gets the priority list of language identifiers that is used when formatting dates and times.

-property-value

The list of languages that is used.

-remarks

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.

-examples

-see-also