ITypeLibConverter 接口

定义

提供一组服务,这些服务将托管程序集转换为 COM 类型库或进行反向转换。

public interface class ITypeLibConverter
[System.Runtime.InteropServices.Guid("F1C3BF78-C3E4-11d3-88E7-00902754C43A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLibConverter
[System.Runtime.InteropServices.Guid("F1C3BF78-C3E4-11d3-88E7-00902754C43A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface ITypeLibConverter
[<System.Runtime.InteropServices.Guid("F1C3BF78-C3E4-11d3-88E7-00902754C43A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITypeLibConverter = interface
[<System.Runtime.InteropServices.Guid("F1C3BF78-C3E4-11d3-88E7-00902754C43A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ITypeLibConverter = interface
Public Interface ITypeLibConverter
派生
属性

方法

ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

将程序集转换为 COM 类型库。

ConvertTypeLibToAssembly(Object, String, Int32, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, Boolean)

将 COM 类型库转换为程序集。

ConvertTypeLibToAssembly(Object, String, TypeLibImporterFlags, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, String, Version)

将 COM 类型库转换为程序集。

GetPrimaryInteropAssembly(Guid, Int32, Int32, Int32, String, String)

获取指定类型库的主互操作程序集的名称和基本代码。

适用于