ITypeLib Interface

Définition

Fournit la définition managée de l’interface ITypeLib .

public interface class ITypeLib
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLib
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")]
public interface ITypeLib
public interface ITypeLib
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITypeLib = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")>]
type ITypeLib = interface
type ITypeLib = interface
Public Interface ITypeLib
Dérivé
Attributs

Remarques

Pour plus d’informations, consultez l’interface ITypeLib.

Le Common Language Runtime lève une exception lorsqu’une méthode COM dans le code natif retourne un HRESULT. Pour plus d’informations, consultez How to : Map HRESULTs and Exceptions.

Méthodes

Nom Description
FindName(String, Int32, ITypeInfo[], Int32[], Int16)

Recherche les occurrences d’une description de type dans une bibliothèque de types.

GetDocumentation(Int32, String, String, Int32, String)

Récupère la chaîne de documentation de la bibliothèque, le nom et le chemin complets du fichier d’aide, ainsi que l’identificateur de contexte de la rubrique d’aide de la bibliothèque dans le fichier d’aide.

GetLibAttr(IntPtr)

Récupère la structure qui contient les attributs de la bibliothèque.

GetTypeComp(ITypeComp)

Permet à un compilateur client de lier les types, variables, constantes et fonctions globales d’une bibliothèque.

GetTypeInfo(Int32, ITypeInfo)

Récupère la description de type spécifiée dans la bibliothèque.

GetTypeInfoCount()

Retourne le nombre de descriptions de type dans la bibliothèque de types.

GetTypeInfoOfGuid(Guid, ITypeInfo)

Récupère la description de type qui correspond au GUID spécifié.

GetTypeInfoType(Int32, TYPEKIND)

Récupère le type d’une description de type.

IsName(String, Int32)

Indique si une chaîne transmise contient le nom d’un type ou d’un membre décrit dans la bibliothèque.

ReleaseTLibAttr(IntPtr)

Libère la TYPELIBATTR structure obtenue à l’origine à partir de la GetLibAttr(IntPtr) méthode.

S’applique à