TypeLibConverter TypeLibConverter TypeLibConverter TypeLibConverter Class

定义

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

public ref class TypeLibConverter sealed : 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")]
[System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
type TypeLibConverter = class
    interface ITypeLibConverter
Public NotInheritable Class TypeLibConverter
Implements ITypeLibConverter
继承
TypeLibConverterTypeLibConverterTypeLibConverterTypeLibConverter
属性
实现

构造函数

TypeLibConverter() TypeLibConverter() TypeLibConverter() TypeLibConverter()

初始化 TypeLibConverter 类的新实例。Initializes a new instance of the TypeLibConverter class.

方法

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.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
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.

GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于