ApplicationLanguages.Languages Property

Definition

Gets a ranked list of supported languages.

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

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

The intersection of supported languages declared by the app (see ManifestLanguages) and the list of languages for which the user has declared a preference (the user profile language list). If this intersection is empty, the app's default language is used.

For more detail, see Understand user profile languages and app manifest languages.

Applies to