Share via


ApplicationLanguages.ManifestLanguages Property

Definition

Gets the collection of supported languages declared in the app manifest.

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

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

The collection of supported languages declared in the app manifest.

Important

For unpackaged applications, this is an empty list.

Remarks

When language resource packages are used, the packages that are installed and registered for a given user are determined by the languages in the user's language profile.

The collection of languages returned by this property is limited to the languages available on the system for the user. Languages included in the main app package manifest will always be returned; languages from resource packages will be returned only if the language is applicable for the user (in the user's preferences) and the resource package has been installed and registered for the user at the time the property is accessed.

Applies to