ITypeInfo.GetVarDesc(Int32, IntPtr) Metodo

Definizione

Recupera una struttura VARDESC che descrive la variabile specificata.

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)

Parametri

index
Int32

Indice della descrizione della variabile da restituire.

ppVarDesc
IntPtr

nativeint

Quando termina, questo metodo contiene un riferimento alla struttura VARDESC che descrive la variabile specificata. Questo parametro viene passato non inizializzato.

Commenti

È possibile accedere ai valori del ppVarDesc parametro tramite il PtrToStructure metodo .

Per altre informazioni, vedere Metodo ITypeInfo::GetVarDesc.

Si applica a