ITypeLibConverter.ConvertAssemblyToTypeLib Metoda

Definicja

Konwertuje zestaw na bibliotekę typów MODELU 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

Parametry

assembly
Assembly

Zestaw do konwersji.

typeLibName
String

Nazwa pliku wynikowej biblioteki typów.

flags
TypeLibExporterFlags

Wartość wskazująca TypeLibExporterFlags wszystkie ustawienia specjalne.

notifySink
ITypeLibExporterNotifySink

Interfejs ITypeLibExporterNotifySink zaimplementowany przez obiekt wywołujący.

Zwraca

Obiekt, który implementuje ITypeLib interfejs.

Uwagi

Aby uzyskać więcej informacji na ITypeLibtemat programu , zobacz istniejącą dokumentację w bibliotece MSDN.

Dotyczy