ITypeLibConverter.ConvertAssemblyToTypeLib Methode

Definition

Konvertiert eine Assembly in eine COM-Typbibliothek.

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

Parameter

assembly
Assembly

Die zu konvertierende Assembly.

typeLibName
String

Der Dateiname der resultierenden Typbibliothek.

flags
TypeLibExporterFlags

Ein TypeLibExporterFlags-Wert, der alle speziellen Einstellungen angibt.

notifySink
ITypeLibExporterNotifySink

Die vom Aufrufer implementierte ITypeLibExporterNotifySink-Schnittstelle.

Gibt zurück

Ein Objekt, das die ITypeLib-Schnittstelle implementiert.

Hinweise

Weitere Informationen zu ITypeLibfinden Sie in der vorhandenen Dokumentation in der MSDN Library.

Gilt für: