Compartir a través de


Clase TypeLibConverter

 

Publicado: octubre de 2016

Proporciona un conjunto de servicios que convierten a un ensamblado administrado en una biblioteca de tipos COM y viceversa.

Espacio de nombres:   System.Runtime.InteropServices
Ensamblado:  mscorlib (en mscorlib.dll)

Jerarquía de herencia

System.Object
  System.Runtime.InteropServices.TypeLibConverter

Sintaxis

[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

Constructores

Nombre Descripción
System_CAPS_pubmethod TypeLibConverter()

Inicializa una nueva instancia de la clase TypeLibConverter.

Métodos

Nombre Descripción
System_CAPS_pubmethod ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

Convierte a un ensamblado en una biblioteca de tipos COM.

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

Convierte una biblioteca de tipos COM en un ensamblado.

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

Convierte una biblioteca de tipos COM en un ensamblado.

System_CAPS_pubmethod Equals(Object)

Determina si el objeto especificado es igual al objeto actual.(Heredado de Object).

System_CAPS_pubmethod GetHashCode()

Sirve como la función hash predeterminada.(Heredado de Object).

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

Obtiene el nombre y el código base de un ensamblado de interoperabilidad primario para una biblioteca de tipos especificada.

System_CAPS_pubmethod GetType()

Obtiene el Type de la instancia actual.(Heredado de Object).

System_CAPS_pubmethod ToString()

Devuelve una cadena que representa el objeto actual.(Heredado de Object).

Información de versión

.NET Framework
Disponible desde 1.1

Seguridad para subprocesos

Cualquier miembro ( Compartido en Visual Basic) estático público de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ver también

Espacio de nombres System.Runtime.InteropServices
Atributos para importar bibliotecas de tipos en ensamblados de interoperabilidad

Volver al principio