ITypeLibConverter.ConvertAssemblyToTypeLib メソッド

定義

アセンブリを 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 ライブラリの既存のドキュメントを参照してください。

適用対象