Dela via


ApplicationLanguages.ManifestLanguages Property

Definition

Gets the app's declared list of supported languages.

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 list of supported languages declared in the app's manifest.

Remarks

UWP apps can be deployed using resource packages. 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 set of languages returned by the ManifestLanguages property is limited to the languages currently 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 (that is, is 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