ITypeLibConverter.ConvertAssemblyToTypeLib Méthode

Définition

Convertit un assembly en bibliothèque de types 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

Paramètres

assembly
Assembly

Assembly à convertir.

typeLibName
String

Nom de fichier de la bibliothèque de types résultante.

flags
TypeLibExporterFlags

Valeur de TypeLibExporterFlags indiquant d’éventuels paramètres spéciaux.

notifySink
ITypeLibExporterNotifySink

Interface ITypeLibExporterNotifySink implémentée par l’appelant.

Retours

Objet qui implémente l'interface ITypeLib.

Remarques

Pour plus d’informations sur ITypeLib, consultez sa documentation existante dans la bibliothèque MSDN.

S’applique à