Share via


DateTimeFormatter.ResolvedLanguage Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to