ResourceManager 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示资源管理器,其可在运行时提供对于特定文化资源的便利访问
public ref class ResourceManager
	public class ResourceManager
	[System.Serializable]
public class ResourceManager
	[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class ResourceManager
	type ResourceManager = class
	[<System.Serializable>]
type ResourceManager = class
	[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ResourceManager = class
	Public Class ResourceManager
		- 继承
 - 
				ResourceManager
 
- 派生
 
- 属性
 
注解
有关此 API 的详细信息,请参阅 ResourceManager 的补充 API 备注。
构造函数
| ResourceManager() | 
		 使用默认值初始化 ResourceManager 类的新实例。  | 
        	
| ResourceManager(String, Assembly) | 
		 初始化 ResourceManager 类的新实例,该实例在给定的程序集中查找从指定根名称导出的文件中包含的资源。  | 
        	
| ResourceManager(String, Assembly, Type) | 
		 初始化使用指定 ResourceSet 的 ResourceManager 类的新实例,该实例在给定的程序集中的指定根名称类的文件中查找资源。  | 
        	
| ResourceManager(Type) | 
		 它根据指定的对象中的信息在附属程序集内查找资源来初始化 ResourceManager 类的新实例。  | 
        	
字段
| BaseNameField | 
		 指定 ResourceManager 在其中搜索资源的资源文件的根名称。  | 
        	
| HeaderVersionNumber | 
		 指定 ResourceManager 的当前实现可解释和产生的资源文件头的版本。  | 
        	
| MagicNumber | 
		 保留用于标识资源文件的数字。  | 
        	
| MainAssembly | 
		 指定包含资源的主要程序集。  | 
        	
| ResourceSets | 
			 
				已过时.
			 
		包含 Hashtable,它返回从区域性到 ResourceSet 对象的映射。  | 
        	
属性
| BaseName | 
		 获取 ResourceManager 从其中搜索资源的资源文件的根名称。  | 
        	
| FallbackLocation | 
		 获取或设置检索默认回退资源的位置。  | 
        	
| IgnoreCase | 
		 获取或设置值,该值指示资源管理器是否允许在 GetString(String) 和 GetObject(String) 方法中进行不区分大小写的资源查找。  | 
        	
| ResourceSetType | 
		 获取资源管理器使用构造 ResourceSet 对象的资源设置对象的类型。  | 
        	
方法
适用于
线程安全性
此类型是线程安全的。