Redigera

Dela via


ITypeInfo.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

The index of the variable description to return.

ppVarDesc
IntPtr

nativeint

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

Remarks

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

For more information, see ITypeInfo::GetVarDesc method.

Applies to