アセンブリを COM タイプ ライブラリに変換します。
Function ConvertAssemblyToTypeLib( _
ByVal assembly As Assembly, _ ByVal typeLibName As String, _ ByVal flags As TypeLibExporterFlags, _ ByVal notifySink As ITypeLibExporterNotifySink _) As Object
[C#]
object ConvertAssemblyToTypeLib(
Assemblyassembly,stringtypeLibName,TypeLibExporterFlagsflags,ITypeLibExporterNotifySinknotifySink);
[C++]
Object* ConvertAssemblyToTypeLib(
Assembly* assembly,String* typeLibName,TypeLibExporterFlagsflags,ITypeLibExporterNotifySink* notifySink);
[JScript]
function ConvertAssemblyToTypeLib(
assembly : Assembly,typeLibName : String,flags : TypeLibExporterFlags,notifySink : ITypeLibExporterNotifySink) : Object;
パラメータ
- assembly
変換対象のアセンブリ。 - typeLibName
結果として得られるタイプ ライブラリのファイル名。 - flags
任意の特別な設定を示す TypeLibExporterFlags 値。 - notifySink
呼び出し元によって実装されている ITypeLibExporterNotifySink インターフェイス。
戻り値
ITypeLib インターフェイスを実装するオブジェクト。
解説
ITypeLib の詳細については、MSDN ライブラリの既存のドキュメントを参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
ITypeLibConverter インターフェイス | ITypeLibConverter メンバ | System.Runtime.InteropServices 名前空間