DateTimeFormatter.ResolvedLanguage DateTimeFormatter.ResolvedLanguage DateTimeFormatter.ResolvedLanguage DateTimeFormatter.ResolvedLanguage DateTimeFormatter.ResolvedLanguage Property

Definition

Gets the language that was most recently used to format dates and times.

public : Platform::String ResolvedLanguage { get; }
winrt::hstring ResolvedLanguage();
public string ResolvedLanguage { get; }
Public ReadOnly Property ResolvedLanguage As string
var string = dateTimeFormatter.resolvedLanguage;

Property Value

string string 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.