ITypeLibConverter.ConvertAssemblyToTypeLib Método

Definição

Converte um assembly numa biblioteca do tipo 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

A assembleia para converter.

typeLibName
String

O nome do ficheiro da biblioteca de tipos resultante.

flags
TypeLibExporterFlags

Um valor que TypeLibExporterFlags indica quaisquer configurações especiais.

notifySink
ITypeLibExporterNotifySink

A ITypeLibExporterNotifySink interface implementada pelo chamador.

Devoluções

Um objeto que implementa a ITypeLib interface.

Observações

Para mais informações sobre ITypeLib, por favor consulte a documentação existente na biblioteca MSDN.

Aplica-se a