ITypeLibConverter.ConvertAssemblyToTypeLib 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將組裝套件轉換成 COM 類型的函式庫。
public:
System::Object ^ ConvertAssemblyToTypeLib(System::Reflection::Assembly ^ assembly, System::String ^ typeLibName, System::Runtime::InteropServices::TypeLibExporterFlags flags, System::Runtime::InteropServices::ITypeLibExporterNotifySink ^ notifySink);
public object ConvertAssemblyToTypeLib(System.Reflection.Assembly assembly, string typeLibName, System.Runtime.InteropServices.TypeLibExporterFlags flags, System.Runtime.InteropServices.ITypeLibExporterNotifySink notifySink);
abstract member ConvertAssemblyToTypeLib : System.Reflection.Assembly * string * System.Runtime.InteropServices.TypeLibExporterFlags * System.Runtime.InteropServices.ITypeLibExporterNotifySink -> obj
Public Function ConvertAssemblyToTypeLib (assembly As Assembly, typeLibName As String, flags As TypeLibExporterFlags, notifySink As ITypeLibExporterNotifySink) As Object
參數
- assembly
- Assembly
大會要轉化。
- typeLibName
- String
產生的類型庫的檔名。
- flags
- TypeLibExporterFlags
一個 TypeLibExporterFlags 表示特殊設定的數值。
- notifySink
- ITypeLibExporterNotifySink
呼叫者實作的 ITypeLibExporterNotifySink 介面。
傳回
一個實作介面的 ITypeLib 物件。
備註
欲了解更多相關 ITypeLib資訊,請參閱 MSDN 圖書館中現有的文件。