TypeLibConverter 類別

定義

提供一組服務,將 Managed 組件 (Assembly) 轉換為 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)

取得指定的型別程式庫主要 Interop 組件的名稱和程式碼基底。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於