ITypeInfo2.GetVarDesc(Int32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Implements
Remarks
The values of the ppVarDesc
parameter can be accessed through the PtrToStructure method.
For more information, see ITypeInfo::GetVarDesc method.