Windows.ApplicationModel.Resources.Core namespace

Applies to Windows and Windows Phone

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.

Members

The Windows.ApplicationModel.Resources.Core namespace has these types of members:

Classes

The Windows.ApplicationModel.Resources.Core namespace has these classes.

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

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

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

Creating and retrieving resources in Windows Store apps
Application resources and localization sample
Resource Management System

 

 

Show:
© 2014 Microsoft. All rights reserved.