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 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

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, et l’ID 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 d’effectuer une liaison aux 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 types de 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 passée contient le nom d’un type ou d’un membre décrit dans la bibliothèque.

ReleaseTLibAttr(IntPtr)

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

S’applique à