ITypeLibConverter ITypeLibConverter ITypeLibConverter ITypeLibConverter Interface

定义

提供一组服务,这些服务将托管程序集转换为 COM 类型库或进行反向转换。Provides a set of services that convert a managed assembly to a COM type library and vice versa.

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

方法

ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink) ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink) ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink) ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

将程序集转换为 COM 类型库。Converts an assembly to a COM type library.

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

将 COM 类型库转换为程序集。Converts a COM type library to an assembly.

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

将 COM 类型库转换为程序集。Converts a COM type library to an assembly.

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

获取指定类型库的主互操作程序集的名称和基本代码。Gets the name and code base of a primary interop assembly for a specified type library.

适用于