TypeLibConverter Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit un ensemble de services qui convertissent un assembly managé en bibliothèque de types COM et inversement.
public ref class TypeLibConverter sealed : System::Runtime::InteropServices::ITypeLibConverter
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class TypeLibConverter : System.Runtime.InteropServices.ITypeLibConverter
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>]
type TypeLibConverter = class
interface ITypeLibConverter
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F1C3BF79-C3E4-11d3-88E7-00902754C43A")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibConverter = class
interface ITypeLibConverter
Public NotInheritable Class TypeLibConverter
Implements ITypeLibConverter
- Héritage
-
TypeLibConverter
- Attributs
- Implémente
Constructeurs
| Nom | Description |
|---|---|
| TypeLibConverter() |
Initialise une nouvelle instance de la classe TypeLibConverter. |
Méthodes
| Nom | Description |
|---|---|
| ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink) |
Convertit un assembly en bibliothèque de types COM. |
| ConvertTypeLibToAssembly(Object, String, Int32, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, Boolean) |
Convertit une bibliothèque de types COM en assembly. |
| ConvertTypeLibToAssembly(Object, String, TypeLibImporterFlags, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, String, Version) |
Convertit une bibliothèque de types COM en assembly. |
| Equals(Object) |
Détermine si l’objet spécifié est égal à l’objet actuel. (Hérité de Object) |
| GetHashCode() |
Sert de fonction de hachage par défaut. (Hérité de Object) |
| GetPrimaryInteropAssembly(Guid, Int32, Int32, Int32, String, String) |
Obtient le nom et la base de code d’un assembly d’interopérabilité principal pour une bibliothèque de types spécifiée. |
| GetType() |
Obtient la Type de l’instance actuelle. (Hérité de Object) |
| MemberwiseClone() |
Crée une copie superficielle du Objectactuel. (Hérité de Object) |
| ToString() |
Retourne une chaîne qui représente l’objet actuel. (Hérité de Object) |