Gets the priority list of language identifiers that is used when formatting dates and times.
Syntax
var languages = dateTimeFormatter.languages;
Property value
Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]
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.
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.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012