ResourceManager Class

Definition

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

C#
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.Resources.IResourceManagerFactory), 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ResourceManager
C#
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.Resources.IResourceManagerFactory), 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract), 65536)]
public sealed class ResourceManager : IResourceManager
Inheritance
Object ResourceManager
Attributes
Implements

Constructors

ResourceManager()

Creates a ResourceManager object using the default settings.

ResourceManager(String)

Creates a ResourceManager object.

Properties

MainResourceMap

Gets the ResourceMap that is associated with the main package of the currently running app.

Methods

CreateResourceContext()

Creates a ResourceContext with the default settings.

Events

ResourceNotFound

Occurs when an attempt to get a resource fails because the specified resource was not found.

Applies to

Product Versions
Windows App SDK 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also