ResourceManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to app resource maps and more advanced resource functionality.
public ref class ResourceManager sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
/// [Windows.Foundation.Metadata.Activatable(Microsoft.ApplicationModel.Resources.IResourceManagerFactory, 65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.ApplicationModel.Resources.MrtContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ResourceManager final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.ApplicationModel.Resources.IResourceManagerFactory), 65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.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
function ResourceManager(fileName)
Public NotInheritable Class ResourceManager
- Inheritance
- Attributes
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 |
Event that fires when an attempt to get a resource fails because the specified resource was not found. |