Dela via


Windows.ApplicationModel.Resources.Core Namespace

Provides classes that enable advanced resource loading.

These classes provide functionality that includes:

  • Enumerating resources and resource values.
  • Looking up resource values for contexts other than the default.
  • Retrieving details about matching resource values.
  • Retrieving all possible resource candidates for a context, not just the best match.
  • Loading and unloading additional resource files.

Classes

NamedResource

Represents a single logical, named resource, such as a string resource named 'Header1'.

ResourceCandidate

Represents a single possible value for a given NamedResource, the qualifiers associated with that resource, and how well those qualifiers match the context against which it was resolved.

ResourceCandidateVectorView

Represents a collection of ResourceCandidate objects.

ResourceContext

Encapsulates all of the factors (ResourceQualifiers) that might affect resource selection.

ResourceContextLanguagesVectorView

Represents a collection of ResourceContext language qualifiers.

ResourceManager

Provides access to application resource maps and more advanced resource functionality.

ResourceMap

A collection of related resources, typically either for a particular app package, or a resource file for a particular package.

ResourceMapIterator

Supports iteration over a ResourceMap.

ResourceMapMapView

An unchangeable view into a map of ResourceMap objects.

ResourceMapMapViewIterator

Supports iteration over a ResourceMapMapView object.

ResourceQualifier

Defines the qualifiers associated with a ResourceCandidate.

ResourceQualifierMapView

An unchangeable view into a map of ResourceQualifier objects.

ResourceQualifierObservableMap

Notifies listeners of dynamic changes to a map of ResourceQualifier objects, such as when items get added or removed, and allows qualifier values to change.

ResourceQualifierVectorView

An unchangeable view into a vector of ResourceQualifier objects.

Structs

ResourceLayoutInfo

Structure that determines version and counts of resources returned for the app package.

Enums

ResourceCandidateKind

Defines values that represent the type of resource that is encapsulated in a ResourceCandidate.

ResourceQualifierPersistence

Possible values for the persistence of a global qualifier value override.

See also