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

The language from the priority list of language identifiers that was most recently used to format dates and times.

Starting in : Language tags can support Unicode extensions. See the Remarks for the DateTimeFormatter(String, IIterable(String)) constructor.

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.

Applies to