Compartilhar via


Classe TypeLibConverter

 

Publicado: agosto de 2016

Dica

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Fornece um conjunto de serviços que convertem um assembly gerenciado em uma biblioteca de tipos COM e vice-versa.

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

Hierarquia de Herança

System.Object
  System.Runtime.InteropServices.TypeLibConverter

Sintaxe

[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

Construtores

Nome Descrição
System_CAPS_pubmethod TypeLibConverter()

Inicializa uma nova instância da classe TypeLibConverter.

Métodos

Nome Descrição
System_CAPS_pubmethod ConvertAssemblyToTypeLib(Assembly, String, TypeLibExporterFlags, ITypeLibExporterNotifySink)

Converte um assembly em uma biblioteca de tipos COM.

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

Converte uma biblioteca de tipo COM em um assembly.

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

Converte uma biblioteca de tipo COM em um assembly.

System_CAPS_pubmethod Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.(Herdado de Object.)

System_CAPS_pubmethod GetHashCode()

Serve como a função de hash padrão.(Herdado de Object.)

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

Obtém o nome e o código base de um assembly de interoperabilidade primário para uma biblioteca de tipos especificada.

System_CAPS_pubmethod GetType()

Obtém o Type da instância atual.(Herdado de Object.)

System_CAPS_pubmethod ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.(Herdado de Object.)

Informações de Versão

.NET Framework
Disponível desde 1.1

Acesso thread-safe

Quaisquer membros estáticos públicos ( Compartilhado no Visual Basic) desse tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Confira Também

Namespace System.Runtime.InteropServices
Atributos para importar bibliotecas de tipos em assemblies de interoperabilidade

Retornar ao início