IndexedResourceQualifier IndexedResourceQualifier IndexedResourceQualifier IndexedResourceQualifier Class

Definition

Represents an object that declares under what context a resource is appropriate.

Important

You can't use this class in a UWP app.

public : sealed class IndexedResourceQualifier : IIndexedResourceQualifier
public sealed class IndexedResourceQualifier : IIndexedResourceQualifier
Public NotInheritable Class IndexedResourceQualifier Implements IIndexedResourceQualifier
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Resources.Management.ResourceIndexerContract (introduced v1)

Properties

QualifierName QualifierName QualifierName QualifierName

Gets the name of the qualifier.

public : Platform::String QualifierName { get; }
public string QualifierName { get; }
Public ReadOnly Property QualifierName As string
var string = indexedResourceQualifier.qualifierName;
Value
Platform::String string string string

The name of the qualifier, such as "language", "contrast", or "scale".

QualifierValue QualifierValue QualifierValue QualifierValue

Gets the value of the qualifier.

public : Platform::String QualifierValue { get; }
public string QualifierValue { get; }
Public ReadOnly Property QualifierValue As string
var string = indexedResourceQualifier.qualifierValue;
Value
Platform::String string string string

The value of the qualifier. The case of the qualifier value should be preserved from the first instance of the qualifier discovered during indexing.

Examples of the qualifier value are:

  • "100", "140", or "180" for scale.
  • "fr-FR" for language.
  • "high" for contrast.