TypeLibConverter 类

定义

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

public ref class TypeLibConverter sealed : System::Runtime::InteropServices::ITypeLibConverter
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("f1c3bf79-c3e4-11d3-88e7-00902754c43a")]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>]
type TypeLibConverter = class
    interface ITypeLibConverter
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibConverter = class
    interface ITypeLibConverter
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("f1c3bf79-c3e4-11d3-88e7-00902754c43a")>]
type TypeLibConverter = class
    interface ITypeLibConverter
Public NotInheritable Class TypeLibConverter
Implements ITypeLibConverter
继承
TypeLibConverter
属性
实现

构造函数

TypeLibConverter()

初始化 TypeLibConverter 类的新实例。

方法

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 类型库转换为程序集。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetPrimaryInteropAssembly(Guid, Int32, Int32, Int32, String, String)

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

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于