ITypeInfo2.GetVarDesc(Int32, IntPtr) ITypeInfo2.GetVarDesc(Int32, IntPtr) ITypeInfo2.GetVarDesc(Int32, IntPtr) ITypeInfo2.GetVarDesc(Int32, IntPtr) Method

Definition

Retrieves a VARDESC structure that describes the specified variable.

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)

Parameters

index
Int32 Int32 Int32 Int32

The index of the variable description to return.

ppVarDesc
IntPtr IntPtr IntPtr IntPtr

When this method returns, contains a reference to the VARDESC structure that describes the specified variable. This parameter is passed uninitialized.

Implements

Remarks

The values of the ppVarDesc parameter can be accessed through the PtrToStructure method.

For additional information about ITypeInfo::GetVarDesc, see the MSDN Library.

Applies to