IComManagedImportUtil.GetComponentInfo(String, String, String) 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从程序集中获取组件信息。
public:
 void GetComponentInfo(System::String ^ assemblyPath, [Runtime::InteropServices::Out] System::String ^ % numComponents, [Runtime::InteropServices::Out] System::String ^ % componentInfo);
	public void GetComponentInfo (string assemblyPath, out string numComponents, out string componentInfo);
	abstract member GetComponentInfo : string * string * string -> unit
	Public Sub GetComponentInfo (assemblyPath As String, ByRef numComponents As String, ByRef componentInfo As String)
	参数
- assemblyPath
 - String
 
程序集的路径。
- numComponents
 - String
 
此方法返回时,此参数包含程序集中的组件的数目。
- componentInfo
 - String
 
此方法返回时,此参数包含有关这些组件的信息。
例外
调用方没有所需的权限。
              assemblyPath 为 null。
              assemblyPath 包含一个冒号 (":")。
指定的路径和/或文件名超过了系统定义的最大长度。
注解
COM+ 目录调用此方法,用于在注册 DLL 之前标识 DLL 中组件的类标识符 (CLSID) 和 ProgID。