UCOMITypeInfo.GetVarDesc(Int32, IntPtr) 方法

定义

检索描述 VARDESC 指定变量的结构。

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)

参数

index
Int32

要返回的变量说明的索引。

ppVarDesc
IntPtr

nativeint

成功返回时,对描述指定变量的引用 VARDESC

注解

可通过 .. 访问ppVarDesc的值PtrToStructure

有关其他 ITypeInfo::GetVarDesc信息,请参阅 MSDN 库。

适用于