Windows.ApplicationModel.Resources.Core Namespace

Erstellt Klassen zum Laden erweiterter Ressourcen.

Diese Klassen bieten Funktionen, die Folgendes enthalten:

  • Ressourcen und Ressourcenwerte enumerieren.
  • Es wird nach anderen als den standardmäßigen Ressourcenwerten für Kontexte gesucht.
  • Ruft Einzelheiten über übereinstimmende Ressourcenwerte ab.
  • Ruft alle möglichen Ressourcenkandidaten für einen Kontext ab, nicht nur die beste Übereinstimmung.
  • Laden und Entladen zusätzlichen Ressourcendateien.

Member

Windows.ApplicationModel.Resources.CoreNamespace hat diese Membertypen:

Klassen

Windows.ApplicationModel.Resources.CoreNamespace hat diese Klassen.

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

 

Anforderungen

Mindestens unterstützter Client

Windows 8

Mindestens unterstützter Server

Windows Server 2012

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadaten

Windows.winmd

Siehe auch

Erstellen und Abrufen von Ressourcen in Windows Store-Apps
Anwendungsressourcen- und Lokalisierungsbeispiel
Ressourcenverwaltungssystem

 

 

Anzeigen:
© 2014 Microsoft