Language

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

適用対象