Freigeben über


ITypeLibConverter.ConvertAssemblyToTypeLib-Methode: (Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

 

Veröffentlicht: Oktober 2016

Konvertiert eine Assembly in eine COM-Typbibliothek.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Syntax

object ConvertAssemblyToTypeLib(
    Assembly assembly,
    string typeLibName,
    TypeLibExporterFlags flags,
    ITypeLibExporterNotifySink notifySink
)
Object^ ConvertAssemblyToTypeLib(
    Assembly^ assembly,
    String^ typeLibName,
    TypeLibExporterFlags flags,
    ITypeLibExporterNotifySink^ notifySink
)
abstract ConvertAssemblyToTypeLib : 
        assembly:Assembly *
        typeLibName:string *
        flags:TypeLibExporterFlags *
        notifySink:ITypeLibExporterNotifySink -> Object
Function ConvertAssemblyToTypeLib (
    assembly As Assembly,
    typeLibName As String,
    flags As TypeLibExporterFlags,
    notifySink As ITypeLibExporterNotifySink
) As Object

Parameter

  • typeLibName
    Type: System.String

    Der Dateiname der resultierenden Typbibliothek.

Rückgabewert

Type: System.Object

Ein Objekt, das die ITypeLib-Schnittstelle implementiert.

Hinweise

Weitere Informationen zu ITypeLib, finden Sie unter der entsprechenden Dokumentation in der MSDN Library.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

ITypeLibConverter-Schnittstelle
System.Runtime.InteropServices-Namespace

Zurück zum Anfang