ResourceContext.SetGlobalQualifierValue | setGlobalQualifierValue method

Applies to Windows and Windows Phone

Applies a single qualifier value override to default contexts of all views for the current app.

Syntax


public static void SetGlobalQualifierValue(
  string key, 
  string value
)

Parameters

key

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the qualifier to override.

value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The override value to set.

Remarks

This method can be called from any thread.

Errors

This method fails with an exception if key or value are invalid.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

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

 

 

Show:
© 2014 Microsoft. All rights reserved.