IRegistrationServices 接口 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供一组用于注册和注销托管程序集以供从 COM 使用的服务。
public interface class IRegistrationServices
	[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
public interface IRegistrationServices
	[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IRegistrationServices
	[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
type IRegistrationServices = interface
	[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IRegistrationServices = interface
	Public Interface IRegistrationServices
	- 派生
 
- 属性
 
注解
当 COM 客户端使用程序集中的对象时,需要注册。
方法
| GetManagedCategoryGuid() | 
		 返回包含托管类的 COM 类别的 GUID。  | 
        	
| GetProgIdForType(Type) | 
		 检索指定类型的 COM ProgID。  | 
        	
| GetRegistrableTypesInAssembly(Assembly) | 
		 在通过调用 RegisterAssembly(Assembly, AssemblyRegistrationFlags) 注册的程序集中检索类的列表。  | 
        	
| RegisterAssembly(Assembly, AssemblyRegistrationFlags) | 
		 注册托管程序集中的类以便能从 COM 创建。  | 
        	
| RegisterTypeForComClients(Type, Guid) | 
		 使用指定的 GUID 向 COM 注册指定的类型。  | 
        	
| TypeRepresentsComType(Type) | 
		 确定指定的类型是否为 COM 类型。  | 
        	
| TypeRequiresRegistration(Type) | 
		 确定指定的类型是否需要注册。  | 
        	
| UnregisterAssembly(Assembly) | 
		 注销托管程序集中的类。  |