Udostępnij za pośrednictwem


UCOMITypeInfo.GetVarDesc(Int32, IntPtr) Metoda

Definicja

Pobiera strukturę opisową VARDESC określonej zmiennej.

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

Indeks opisu zmiennej do zwrócenia.

ppVarDesc
IntPtr

nativeint

Po pomyślnym powrocie odwołanie do VARDESC elementu opisującego określoną zmienną.

Uwagi

Dostęp do wartości ppVarDesc można uzyskać za pośrednictwem elementu PtrToStructure.

Aby uzyskać dodatkowe informacje na temat ITypeInfo::GetVarDescprogramu , zobacz bibliotekę MSDN.

Dotyczy