UCOMITypeInfo Interface

Définition

Attention

Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202

Attention

Cette API est à présent déconseillée.

Utilisez plutôt ITypeInfo.

public interface class UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")]
public interface UCOMITypeInfo
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")>]
type UCOMITypeInfo = interface
Public Interface UCOMITypeInfo
Attributs

Remarques

Pour plus d’informations sur ITypeInfo , consultez MSDN Library.

Méthodes

AddressOfMember(Int32, INVOKEKIND, IntPtr)

Récupère les adresses de fonctions statiques ou de variables, telles que celles définies dans une DLL.

CreateInstance(Object, Guid, Object)

Crée une nouvelle instance d'un type décrivant une classe Component (coclasse).

GetContainingTypeLib(UCOMITypeLib, Int32)

Récupère la bibliothèque de types qui contient cette description de type ainsi que l'index correspondant dans cette bibliothèque.

GetDllEntry(Int32, INVOKEKIND, String, String, Int16)

Récupère une description ou une spécification d'un point d'entrée pour une fonction dans une DLL.

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

Récupère la chaîne de documentation, le nom et le chemin d'accès complets du fichier d'aide et l'ID de contexte de la rubrique d'aide se rapportant à une description de type spécifiée.

GetFuncDesc(Int32, IntPtr)

Récupère la structure FUNCDESC qui contient des informations sur une fonction spécifiée.

GetIDsOfNames(String[], Int32, Int32[])

Effectue un mappage entre les noms et les ID de membres, ainsi qu'entre les noms et les ID de paramètres.

GetImplTypeFlags(Int32, Int32)

Récupère la valeur IMPLTYPEFLAGS pour une interface implémentée ou une interface de base dans une description de type.

GetMops(Int32, String)

Récupère des informations de marshaling.

GetNames(Int32, String[], Int32, Int32)

Récupère la variable avec l'ID de membre spécifié (ou le nom de la propriété ou de la méthode et ses paramètres) correspondant à l'ID de fonction spécifié.

GetRefTypeInfo(Int32, UCOMITypeInfo)

Si une description de type référence d'autres descriptions de types, elle récupère les descriptions de types référencées.

GetRefTypeOfImplType(Int32, Int32)

Lorsqu'une description de type décrit une classe COM, elle récupère la description des types interface implémentés.

GetTypeAttr(IntPtr)

Récupère une structure TYPEATTR qui contient les attributs de la description de type.

GetTypeComp(UCOMITypeComp)

Récupère l'interface ITypeComp pour la description de type qui permet à un compilateur client d'effectuer une liaison avec les membres de la description de type.

GetVarDesc(Int32, IntPtr)

Récupère une structure VARDESC qui décrit la variable spécifiée.

Invoke(Object, Int32, Int16, DISPPARAMS, Object, EXCEPINFO, Int32)

Appelle une méthode ou accède à une propriété d'un objet qui implémente l'interface décrite par la description de type.

ReleaseFuncDesc(IntPtr)

Libère un FUNCDESC retourné précédemment par GetFuncDesc(Int32, IntPtr).

ReleaseTypeAttr(IntPtr)

Libère un TYPEATTR retourné précédemment par GetTypeAttr(IntPtr).

ReleaseVarDesc(IntPtr)

Libère un VARDESC retourné précédemment par GetVarDesc(Int32, IntPtr).

S’applique à