ITypeLibConverter.ConvertAssemblyToTypeLib Método

Definición

Convierte un ensamblado en una biblioteca de tipos 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

Parámetros

assembly
Assembly

Ensamblado que se va a convertir.

typeLibName
String

Nombre de archivo de la biblioteca de tipos resultante.

flags
TypeLibExporterFlags

Valor TypeLibExporterFlags que indica cualquier configuración especial.

notifySink
ITypeLibExporterNotifySink

Interfaz ITypeLibExporterNotifySink implementada por el que llama.

Devoluciones

Objeto que implementa la interfaz ITypeLib.

Comentarios

Para obtener más información sobre ITypeLib, consulte su documentación existente en MSDN Library.

Se aplica a