共用方式為


ITypeLibConverter 介面

定義

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

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

適用於