ITypeInfo.GetVarDesc(Int32, IntPtr) Méthode

Définition

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

public:
 void GetVarDesc(int index, [Runtime::InteropServices::Out] IntPtr % ppVarDesc);
public void GetVarDesc(int index, out IntPtr ppVarDesc);
abstract member GetVarDesc : int * nativeint -> unit
Public Sub GetVarDesc (index As Integer, ByRef ppVarDesc As IntPtr)

Paramètres

index
Int32

Index de la description de la variable à retourner.

ppVarDesc
IntPtr

nativeint

Lorsque cette méthode est retournée, contient une référence à la VARDESC structure qui décrit la variable spécifiée. Ce paramètre est passé non initialisé.

Remarques

Les valeurs du ppVarDesc paramètre sont accessibles via la PtrToStructure méthode.

Pour plus d’informations, consultez la méthode ITypeInfo ::GetVarDesc.

S’applique à