ApplicationLanguages.Languages ApplicationLanguages.Languages ApplicationLanguages.Languages ApplicationLanguages.Languages ApplicationLanguages.Languages Property

Definition

Gets the ranked list of current runtime language values preferred by the user.

public : static IVectorView<Platform::String> Languages { get; }
static IVectorView<winrt::hstring> Languages();
public static IReadOnlyList<string> Languages { get; }
Public Shared ReadOnly Property Languages As IReadOnlyList<string>
var iReadOnlyList = Windows.Globalization.ApplicationLanguages.languages;

Property Value

IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

A computed list of languages that merges the app's declared supported languages (ApplicationLanguages.ManifestLanguages ) with the user's ranked list of preferred languages.

Remarks

This list is the recommended source of the best current runtime language value(s) preferred by the user.

Note

This property yields the same values as the language list exposed by Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages.

See also