DateTimeFormatter.ResolvedLanguage Property
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.
Gets the language that was most recently used to format dates and times.
public:
property Platform::String ^ ResolvedLanguage { Platform::String ^ get(); };
winrt::hstring ResolvedLanguage();
public string ResolvedLanguage { get; }
var string = dateTimeFormatter.resolvedLanguage;
Public ReadOnly Property ResolvedLanguage As String
Property Value
The language from the priority list of language identifiers that was most recently used to format dates and times.
Remarks
If your app passes language tags from this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.
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.