ResourceContext.Languages ResourceContext.Languages ResourceContext.Languages ResourceContext.Languages ResourceContext.Languages Property

Definition

Gets or sets the language qualifier for this context.

public : IVectorView<Platform::String> Languages { get; set; }
IVectorView<winrt::hstring> Languages();

void Languages(IVectorView<winrt::hstring> languages);
public IReadOnlyList<string> Languages { get; set; }
Public ReadWrite Property Languages As IReadOnlyList<string>
var iReadOnlyList = resourceContext.languages;
resourceContext.languages = iReadOnlyList;

Property Value

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

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.

See also