ITypeLibConverter.ConvertAssemblyToTypeLib Método

Definição

Converte um assembly em uma 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

O assembly a ser convertido.

typeLibName
String

O nome do arquivo da biblioteca de tipos resultante.

flags
TypeLibExporterFlags

Um valor TypeLibExporterFlags que indica qualquer configuração especial.

notifySink
ITypeLibExporterNotifySink

A interface ITypeLibExporterNotifySink implementada pelo chamador.

Retornos

Um objeto que implementa a interface do ITypeLib.

Comentários

Para obter mais informações sobre ITypeLib, consulte sua documentação existente na biblioteca MSDN.

Aplica-se a