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

Index of the variable description to return.

ppVarDesc
IntPtr

nativeint

On successful return, a reference to the VARDESC that describes the specified variable.

Remarks

The values of ppVarDesc can be accessed through PtrToStructure.

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

Applies to