ITypeInfo.GetVarDesc(Int32, IntPtr) Méthode

Définition

Récupère une structure VARDESC 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 variable à retourner.

ppVarDesc
IntPtr

nativeint

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

Remarques

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

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

S’applique à