IndexedResourceQualifier IndexedResourceQualifier IndexedResourceQualifier Class

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

Important

You can't use this class in a Windows Store app.

Syntax

Declaration

public sealed class IndexedResourceQualifierpublic sealed class IndexedResourceQualifierPublic NotInheritable Class IndexedResourceQualifier

Properties summary

Gets the name of the qualifier.

Gets the value of the qualifier.

Properties

  • QualifierName
    QualifierName
    QualifierName
    QualifierName

    Gets the name of the qualifier.

    public string QualifierName { get; }public string QualifierName { get; }Public ReadOnly Property QualifierName As stringpublic string QualifierName { get; }

    Property Value

    • 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 string QualifierValue { get; }public string QualifierValue { get; }Public ReadOnly Property QualifierValue As stringpublic string QualifierValue { get; }

    Property Value

    • 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.

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.ApplicationModel.Resources.Management.ResourceIndexerContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.ApplicationModel.Resources.Management.dll