ITypeLibConverter.ConvertAssemblyToTypeLib Metoda

Definice

Převede sestavení na knihovnu typů 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

Sestavení, které se má převést.

typeLibName
String

Název souboru výsledné knihovny typů.

flags
TypeLibExporterFlags

Hodnota TypeLibExporterFlags označující všechna speciální nastavení.

notifySink
ITypeLibExporterNotifySink

Rozhraní ITypeLibExporterNotifySink implementované volajícím.

Návraty

Objekt, který implementuje ITypeLib rozhraní.

Poznámky

Další informace o nástroji ITypeLibnajdete v jeho stávající dokumentaci v knihovně MSDN.

Platí pro