Skip to main content
DateTimeFormatter.ResolvedLanguage | resolvedLanguage property

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

Syntax


var resolvedLanguage = dateTimeFormatter.resolvedLanguage;

public string ResolvedLanguage { get; }

Public ReadOnly Property ResolvedLanguage As String
   Get

public:
property String^ ResolvedLanguage { 
   String^ get();
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Globalization.DateTimeFormatting
Windows::Globalization::DateTimeFormatting [C++]

Metadata

Windows.winmd

See also

DateTimeFormatter

 

 

Build date: 12/4/2012