ResourceContext.Languages | languages property

Applies to Windows and Windows Phone

Gets or sets the language qualifier for this context.

Syntax


var languages = resourceContext.languages;
resourceContext.languages = languages;

Property value

Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]

A collection of BCP-47 language tags.

Remarks

The language qualifier is a list of valid BCP-47 tags. The default value for the language qualifier is drawn from the app-specific language setting and the user language profile.

The language qualifier value is represented as a string containing a semicolon-delimited list. The Languages property wraps it in a container for convenience.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.winmd

See also

ResourceContext
BCP-47 language tags

 

 

Show:
© 2014 Microsoft