ITypeInfo.GetVarDesc(Int32, IntPtr) Metoda

Definice

Načte VARDESC strukturu, která popisuje zadanou proměnnou.

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)

Parametry

index
Int32

Index popisu proměnné, který se má vrátit.

ppVarDesc
IntPtr

nativeint

Když tato metoda vrátí, obsahuje odkaz na VARDESC strukturu, která popisuje zadanou proměnnou. Tento parametr se předává neinicializovaný.

Poznámky

Hodnoty parametru ppVarDesc jsou přístupné prostřednictvím PtrToStructure metody .

Další informace najdete v tématu Metoda ITypeInfo::GetVarDesc.

Platí pro