ICorDebugILFrame::GetArgument 方法

获取此 Microsoft 中间语言 (MSIL) 堆栈帧中指定参数的值。

HRESULT GetArgument (
    [in] DWORD                  dwIndex,
    [out] ICorDebugValue        **ppValue
);

参数

  • dwIndex
    [in] 此 MSIL 堆栈帧中的参数的索引。

  • ppValue
    [out] 一个指向 ICorDebugValue 对象地址的指针,该对象表示检索到的值。

备注

GetArgument 方法可用在 MSIL 堆栈帧或实时 (JIT) 编译的帧中。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugILFrame 接口