Freigeben über


TypeLibConverter-Klasse

 

Veröffentlicht: Oktober 2016

Bietet eine Reihe von Diensten, die eine verwaltete Assembly in eine COM-Typbibliothek und umgekehrt zu konvertieren.

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

Vererbungshierarchie

System.Object
  System.Runtime.InteropServices.TypeLibConverter

Syntax

[GuidAttribute("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public sealed class TypeLibConverter : ITypeLibConverter
[GuidAttribute("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class TypeLibConverter sealed : ITypeLibConverter
[<Sealed>]
[<GuidAttribute("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type TypeLibConverter = 
    class
        interface ITypeLibConverter
    end
<GuidAttribute("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public NotInheritable Class TypeLibConverter
    Implements ITypeLibConverter

Konstruktoren

Name Beschreibung
System_CAPS_pubmethod TypeLibConverter()

Initialisiert eine neue Instanz der TypeLibConverter-Klasse.

Methoden

Name Beschreibung
System_CAPS_pubmethod ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

Konvertiert eine Assembly in eine COM-Typbibliothek.

System_CAPS_pubmethod ConvertTypeLibToAssembly(Object, String, Int32, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, Boolean)

Eine COM-Typbibliothek konvertiert in eine Assembly.

System_CAPS_pubmethod ConvertTypeLibToAssembly(Object, String, TypeLibImporterFlags, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, String, Version)

Eine COM-Typbibliothek konvertiert in eine Assembly.

System_CAPS_pubmethod Equals(Object)

Bestimmt, ob das angegebene Objekt mit dem aktuellen Objekt identisch ist.(Geerbt von „Object“.)

System_CAPS_pubmethod GetHashCode()

Fungiert als die Standardhashfunktion.(Geerbt von „Object“.)

System_CAPS_pubmethod GetPrimaryInteropAssembly(Guid, Int32, Int32, Int32, String, String)

Ruft den Namen und den Code der angegebene Typbibliothek eine primäre Interop-Assembly ab.

System_CAPS_pubmethod GetType()

Ruft den Type der aktuellen Instanz ab.(Geerbt von „Object“.)

System_CAPS_pubmethod ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.(Geerbt von „Object“.)

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Threadsicherheit

Alle öffentlichen statischen Member ( Shared in Visual Basic) dieses Typs sind threadsicher. Die Threadsicherheit für Instanzmember ist nicht garantiert.

Siehe auch

System.Runtime.InteropServices-Namespace
Attribute für das Importieren von Typbibliotheken in Interop-Assemblys

Zurück zum Anfang